OSDN Git Service

Do not return devices when caller has no location permission
authorFyodor Kupolov <fkupolov@google.com>
Fri, 19 Jun 2015 22:35:11 +0000 (15:35 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Thu, 9 Jul 2015 21:38:50 +0000 (21:38 +0000)
commita179030483a1f3f672be41797dc6e0f077ef4748
tree3c574310b35ae0c5cb52b1ae42aced7e76728281
parentadebbebaa7d516628b5946dd023ff8726e75d2b0
Do not return devices when caller has no location permission

During startLeScan, do not return devices if calling process has no location
permission/appop

Bug: 21852542
Change-Id: Idce8f4704558574e373e8144390f2a2fa1a7e84a
core/java/android/bluetooth/IBluetoothGatt.aidl
core/java/android/bluetooth/le/BluetoothLeScanner.java