summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/22/changes
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2017-09-07 15:42:16 -0700
committerTodd Kennedy <toddke@google.com>2017-09-14 11:48:45 -0700
commit087dce20e3a7137e94607c060fd825d1f8952572 (patch)
tree006d281172e6f8d86e27657236db2336c14f5240 /docs/html/sdk/api_diff/22/changes
parenta32525fcbad6e12eec690c6b3c7583dfc718891d (diff)
Add new OEM permission flavor
The new OEM permission flavor of signature protected perissions can be granted only to apps on the OEM partition if they are: 1. Signed as the one declaring the permission 2. The requesting app is on OEM partition of the system image and declares the permission used and the OEM explicitly granted this permission by adding an entry in /oem/permission/*.xml with the following format: <permissions> <oem-permissions package="foo.bar.baz"> <permission name="android.permission.ACCESS_FOO" granted="true"/> </oem-permissions> </permissions> All OEM permissions requested by any app on the OEM partition must be declared granted or not to force the OEM making a well though out explicit choice. If that condidtion is not met the system server restarts - this prevents shipping a device with OEM permissions for which no opition was explicitly expressed. Normal apps requesting an OEM permission has no effect, i.e the permission is only granted on a signature match. Change-Id: I345bb0b56368ee03e4bd768faab540ee4e0571ae Bug: 65497745 Test: Manual
Diffstat (limited to 'docs/html/sdk/api_diff/22/changes')
0 files changed, 0 insertions, 0 deletions