summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/le/BluetoothLeScanner.java
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2016-06-29 17:31:44 -0700
committerMarie Janssen <jamuraa@google.com>2016-10-27 22:49:11 +0000
commitacb832d29d97138cfb925f00a2efd527ff912cac (patch)
treec13ad88179ac5b88f07d24103a1188dee275b3f1 /framework/java/android/bluetooth/le/BluetoothLeScanner.java
parent0028ed262468cc5e55e1073ef91eb99fd9ac1be3 (diff)
Add Bluetooth toggle prompts - framework
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. Also added a configuration resource which controls whether permission review mode is enabled. By default it is not and an OEM can change this via an overlay. For now we also keep the old mechanism to toggle review mode via a build property which is still used and will be removed when clients have transitioned. bug:28715749 Change-Id: I94c5828ad6c8aa6b363622a26ff9da4fc2e2fac7 (cherry picked from commit 1fff3cdf4b1e4fc7920a5b76d4ae92eb6824325d)
Diffstat (limited to 'framework/java/android/bluetooth/le/BluetoothLeScanner.java')
0 files changed, 0 insertions, 0 deletions