honeycombMR2 property
H MR2.
Released publicly as Android 3.2 in July 2011.
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 HONEYCOMB
or later; it had been 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 Configuration.screenWidthDp
,
Configuration.screenHeightDp
,
and Configuration.smallestScreenWidthDp
.
Supplying these in
Applications targeting this or a later release will get these new changes in behavior:
-
New
PackageManager.FEATURE_SCREEN_PORTRAIT
andPackageManager.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. -
AsyncTask
will use the serial executor by default when callingAsyncTask.execute(Params)
. -
ActivityInfo.configChanges
will have theActivityInfo.CONFIG_SCREEN_SIZE
andActivityInfo.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.
Constant Value: 13 (0x0000000d)
Added in API level 13
Implementation
static int get honeycombMR2 => Build_VERSION_CODES.HONEYCOMB_MR2;