diff options
Diffstat (limited to 'core/java/android/content/res/Configuration.java')
-rw-r--r-- | core/java/android/content/res/Configuration.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/content/res/Configuration.java b/core/java/android/content/res/Configuration.java index 935d234..31119d7 100644 --- a/core/java/android/content/res/Configuration.java +++ b/core/java/android/content/res/Configuration.java @@ -104,7 +104,7 @@ public final class Configuration implements Parcelable, Comparable<Configuration public boolean isLayoutSizeAtLeast(int size) { int cur = screenLayout&SCREENLAYOUT_SIZE_MASK; if (cur == SCREENLAYOUT_SIZE_UNDEFINED) return false; - return size >= cur; + return cur >= size; } public static final int TOUCHSCREEN_UNDEFINED = 0; |