am 7cae137e: am 79841acb: Merge "Compatibility mode never needed for normal size screens." into honeycomb-mr2

* commit '7cae137ed155f2d311f020bbb3e75730344fd5fc':
  Compatibility mode never needed for normal size screens.
This commit is contained in:
Dianne Hackborn
2011-06-01 12:51:08 -07:00
committed by Android Git Automerger

View File

@@ -199,6 +199,9 @@ public class CompatibilityInfo implements Parcelable {
} else if (!anyResizeable) {
compatFlags |= ALWAYS_NEEDS_COMPAT;
}
} else {
compatFlags &= ~NEEDS_SCREEN_COMPAT;
compatFlags |= NEVER_NEEDS_COMPAT;
}
if ((appInfo.flags & ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES) != 0) {