OSDN Git Service

Add Bluetooth toggle prompts - settings
authorSvetoslav Ganov <svetoslavganov@google.com>
Sat, 23 Jul 2016 03:08:41 +0000 (20:08 -0700)
committerMarie Janssen <jamuraa@google.com>
Wed, 26 Oct 2016 20:30:38 +0000 (13:30 -0700)
commit13088cac84ba0aeb03deeb87af1eacc79b7bdeb0
tree7116c4e93525a56b2f18415ca73d158e934120d2
parent363c529dc6ec232b9c12c478ee33238ed21d5be5
Add Bluetooth toggle prompts - settings

If permission review is enabled toggling bluetoth on or off
results in a user prompt to collect consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749

Change-Id: I5ae0c532c92b2c05a91f0d769ca6744002747fca
(cherry picked from commit b06766f129dac138568883110f6d2a085b53445b)
AndroidManifest.xml
res/values/strings.xml
res/values/themes.xml
src/com/android/settings/bluetooth/RequestPermissionActivity.java
src/com/android/settings/bluetooth/RequestPermissionHelperActivity.java