summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Dianne Hackborn <hackbod@google.com> 2010-10-21 15:34:47 -0700
committer Dianne Hackborn <hackbod@google.com> 2010-10-21 15:34:47 -0700
commitb51dc0fe2abe300593eedb8abd35e676c9224dc6 (patch)
treedf0193194babee7a4e9fcf2f057d297be257d8b0
parent7dc08fb070ff7455e794fc81645ccb4349cd152f (diff)
Adjust boundaries for screen sizes.
Part of issue #3116702: New manifest tags for supported screen sizes Kind-of. If you turn your head side-ways. Change-Id: I446f1e2eadba1ce284c93ff9fb0197bb0e6b0fca
-rw-r--r--services/java/com/android/server/WindowManagerService.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/services/java/com/android/server/WindowManagerService.java b/services/java/com/android/server/WindowManagerService.java
index 42fffb0381c2..1b2ddccf5695 100644
--- a/services/java/com/android/server/WindowManagerService.java
+++ b/services/java/com/android/server/WindowManagerService.java
@@ -5023,8 +5023,8 @@ public class WindowManagerService extends IWindowManager.Stub
// SVGA or larger screens at medium density are the point
// at which we consider it to be an extra large screen.
mScreenLayout = Configuration.SCREENLAYOUT_SIZE_XLARGE;
- } else if (longSize >= 640 && shortSize >= 480) {
- // VGA or larger screens at medium density are the point
+ } else if (longSize >= 530 && shortSize >= 400) {
+ // SVGA or larger screens at high density are the point
// at which we consider it to be a large screen.
mScreenLayout = Configuration.SCREENLAYOUT_SIZE_LARGE;
} else {