Loading services/java/com/android/server/WindowManagerService.java +7 −7 Original line number Diff line number Diff line Loading @@ -5029,6 +5029,7 @@ public class WindowManagerService extends IWindowManager.Stub mScreenLayout = Configuration.SCREENLAYOUT_SIZE_LARGE; } else { mScreenLayout = Configuration.SCREENLAYOUT_SIZE_NORMAL; } // If this screen is wider than normal HVGA, or taller // than FWVGA, then for old apps we want to run in size Loading @@ -5036,7 +5037,6 @@ public class WindowManagerService extends IWindowManager.Stub if (shortSize > 321 || longSize > 570) { mScreenLayout |= Configuration.SCREENLAYOUT_COMPAT_NEEDED; } } // Is this a long screen? if (((longSize*3)/5) >= (shortSize-1)) { Loading Loading
services/java/com/android/server/WindowManagerService.java +7 −7 Original line number Diff line number Diff line Loading @@ -5029,6 +5029,7 @@ public class WindowManagerService extends IWindowManager.Stub mScreenLayout = Configuration.SCREENLAYOUT_SIZE_LARGE; } else { mScreenLayout = Configuration.SCREENLAYOUT_SIZE_NORMAL; } // If this screen is wider than normal HVGA, or taller // than FWVGA, then for old apps we want to run in size Loading @@ -5036,7 +5037,6 @@ public class WindowManagerService extends IWindowManager.Stub if (shortSize > 321 || longSize > 570) { mScreenLayout |= Configuration.SCREENLAYOUT_COMPAT_NEEDED; } } // Is this a long screen? if (((longSize*3)/5) >= (shortSize-1)) { Loading