Compatibility mode never needed for normal size screens.

Change-Id: I3482fa692618b9272e1e19384e766a77f2a53c5d
This commit is contained in:
Dianne Hackborn
2011-06-01 12:42:55 -07:00
parent a239c84525
commit 39ec8fb957

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) {