OSDN Git Service

[DO NOT MERGE] Fix setPairingConfirmation permissions issue (1/2)
authorAjay Panicker <apanicke@google.com>
Thu, 8 Sep 2016 17:55:51 +0000 (10:55 -0700)
committerAjay Panicker <apanicke@google.com>
Tue, 20 Sep 2016 23:50:26 +0000 (23:50 +0000)
commit3dd11d0a34837539a56dff58687f1204e2f3ba4c
treec9746ee3d6d2e0806e0c5c482039784dc3d4d2b6
parent480b76264134b6a44aef6948f32b4bd6a62fcd0f
[DO NOT MERGE] Fix setPairingConfirmation permissions issue (1/2)

setPairingConfirmation was set to only require BLUETOOTH_ADMIN
permission which shouldn't be able to set the confirmation itself.

This is restricted to BLUETOOTH_PRIVILEGED permission.

Bug: 29043989
Change-Id: Iae8e31b25795989446265fdcc5eb27e6ffaf29aa
src/com/android/bluetooth/btservice/AdapterService.java