Merge "Adjust boundaries for screen sizes." into gingerbread

This commit is contained in:
Dianne Hackborn
2010-10-21 19:21:28 -07:00
committed by Android (Google) Code Review

View File

@@ -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 {