HONEYCOMB_MR2 constant

int const HONEYCOMB_MR2

June 2011: Android 3.2.

Update to Honeycomb MR1 to support 7 inch tablets, improve screen compatibility mode, etc.

As of this version, applications that don't say whether they support XLARGE screens will be assumed to do so only if they target {@link #HONEYCOMB} or later; it had been {@link #GINGERBREAD} or later. Applications that don't support a screen size at least as large as the current screen will provide the user with a UI to switch them in to screen size compatibility mode.

This version introduces new screen size resource qualifiers based on the screen size in dp: see {@link android.content.res.Configuration#screenWidthDp}, {@link android.content.res.Configuration#screenHeightDp}, and {@link android.content.res.Configuration#smallestScreenWidthDp}. Supplying these in <supports-screens> as per {@link android.content.pm.ApplicationInfo#requiresSmallestWidthDp}, {@link android.content.pm.ApplicationInfo#compatibleWidthLimitDp}, and {@link android.content.pm.ApplicationInfo#largestWidthLimitDp} is preferred over the older screen size buckets and for older devices the appropriate buckets will be inferred from them.

Applications targeting this or a later release will get these new changes in behavior:

  • New {@link android.content.pm.PackageManager#FEATURE_SCREEN_PORTRAIT} and {@link android.content.pm.PackageManager#FEATURE_SCREEN_LANDSCAPE} features were introduced in this release. Applications that target previous platform versions are assumed to require both portrait and landscape support in the device; when targeting Honeycomb MR1 or greater the application is responsible for specifying any specific orientation it requires.

  • {@link android.os.AsyncTask} will use the serial executor by default when calling {@link android.os.AsyncTask#execute}.

  • {@link android.content.pm.ActivityInfo#configChanges ActivityInfo.configChanges} will have the {@link android.content.pm.ActivityInfo#CONFIG_SCREEN_SIZE} and {@link android.content.pm.ActivityInfo#CONFIG_SMALLEST_SCREEN_SIZE} bits set; these need to be cleared for older applications because some developers have done absolute comparisons against this value instead of correctly masking the bits they are interested in.

Implementation

static const int HONEYCOMB_MR2 = 13;