File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
services/java/com/android/server Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5029,13 +5029,13 @@ boolean computeNewConfigurationLocked(Configuration config) {
50295029 mScreenLayout = Configuration .SCREENLAYOUT_SIZE_LARGE ;
50305030 } else {
50315031 mScreenLayout = Configuration .SCREENLAYOUT_SIZE_NORMAL ;
5032-
5033- // If this screen is wider than normal HVGA, or taller
5034- // than FWVGA, then for old apps we want to run in size
5035- // compatibility mode.
5036- if ( shortSize > 321 || longSize > 570 ) {
5037- mScreenLayout |= Configuration . SCREENLAYOUT_COMPAT_NEEDED ;
5038- }
5032+ }
5033+
5034+ // If this screen is wider than normal HVGA, or taller
5035+ // than FWVGA, then for old apps we want to run in size
5036+ // compatibility mode.
5037+ if ( shortSize > 321 || longSize > 570 ) {
5038+ mScreenLayout |= Configuration . SCREENLAYOUT_COMPAT_NEEDED ;
50395039 }
50405040
50415041 // Is this a long screen?
You can’t perform that action at this time.
0 commit comments