am fdbb2168: Merge "Adjust boundaries for screen sizes." into gingerbread

Merge commit 'fdbb2168f7a9a202ee9406d65e7ef98a6745b488' into gingerbread-plus-aosp

* commit 'fdbb2168f7a9a202ee9406d65e7ef98a6745b488':
  Adjust boundaries for screen sizes.
This commit is contained in:
Dianne Hackborn
2010-10-21 20:18:11 -07:00
committed by Android Git Automerger

View File

@@ -5024,8 +5024,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 {