jellyBean property
J.
Released publicly as Android 4.1 in July 2012.
Applications targeting this or a later release will get these new changes in behavior:
-
You must explicitly request the
Manifest.permission.READ_CALL_LOG
and/orManifest.permission.WRITE_CALL_LOG
permissions; access to the call log is no longer implicitly provided throughManifest.permission.READ_CONTACTS
andManifest.permission.WRITE_CONTACTS
. -
RemoteViews
will throw an exception if setting an onClick handler for views being generated by aRemoteViewsService
for a collection container; previously this just resulted in a warning log message. -
New
ActionBar
policy for embedded tabs: embedded tabs are now always stacked in the action bar when in portrait mode, regardless of the size of the screen. -
WebSettings.setAllowFileAccessFromFileURLs
andWebSettings.setAllowUniversalAccessFromFileURLs
default to false. -
Calls to
PackageManager.setComponentEnabledSetting
will now throw an IllegalArgumentException if the given component class name does not exist in the application's manifest. -
NfcAdapter.setNdefPushMessage
,NfcAdapter.setNdefPushMessageCallback
andNfcAdapter.setOnNdefPushCompleteCallback
will throw IllegalStateException if called after the Activity has been destroyed. -
Accessibility services must require the new
Manifest.permission.BIND_ACCESSIBILITY_SERVICE
permission or they will not be available for use. -
AccessibilityServiceInfo.FLAG_INCLUDE_NOT_IMPORTANT_VIEWS
must be set for unimportant views to be included in queries.
Constant Value: 16 (0x00000010)
Added in API level 16
Implementation
static int get jellyBean => Build_VERSION_CODES.JELLY_BEAN;