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
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user