OSDN Git Service

Fix PEERS_MAC_ADDRESS permission for Ble Scanning.
authorCalvin On <con@google.com>
Tue, 12 Apr 2016 22:43:59 +0000 (15:43 -0700)
committerCalvin On <con@google.com>
Tue, 12 Apr 2016 22:52:07 +0000 (15:52 -0700)
commite041e1b073d81516073223da4aef23e91cc823e7
treeb42bc26e25ba3e8de9d0e4dfc3c5aa8737c9d7b4
parentb402d0b9e87988703a8c90e724ee325c9f065e9c
Fix PEERS_MAC_ADDRESS permission for Ble Scanning.

This changes the location permissions check to only throw a SecurityException
if *both* location and peers mac address permissions are missing.

Bug: 27837639
Change-Id: I5e10c8f0564d1f7edab23ad22dbd5aa5fdcbbf76
src/com/android/bluetooth/Utils.java