Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java

Issue 672533002: Enable separatorWrap module in CheckStyle and fix all the issues. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Undo mojo changes Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
diff --git a/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java b/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
index 78f86c9f9deb61878f42ce781a7cc516d03f13ad..ca087dd9160cfdfbe1e5bcbd7998d5020350114c 100644
--- a/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
+++ b/ui/android/java/src/org/chromium/ui/base/DeviceFormFactor.java
@@ -27,8 +27,8 @@ public class DeviceFormFactor {
@CalledByNative
public static boolean isTablet(Context context) {
if (sIsTablet == null) {
- int minimumScreenWidthDp = context.getResources().getConfiguration().
- smallestScreenWidthDp;
+ int minimumScreenWidthDp = context.getResources().getConfiguration()
+ .smallestScreenWidthDp;
sIsTablet = minimumScreenWidthDp >= MINIMUM_TABLET_WIDTH_DP;
}
return sIsTablet;
« no previous file with comments | « tools/android/memconsumer/java/src/org/chromium/memconsumer/ResidentService.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698