Merge "Compatibility mode never needed for normal size screens." into honeycomb-mr2

This commit is contained in:
Dianne Hackborn
2011-06-01 12:43:56 -07:00
committed by Android (Google) Code Review

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