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

* commit '79841acb6275348b4747d30bae6d813e15b1425d':
  Compatibility mode never needed for normal size screens.
This commit is contained in:
Dianne Hackborn
2011-06-01 12:47:29 -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) {