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>
Thu, 8 Sep 2016 18:50:58 +0000 (11:50 -0700)
commit3ccc668ff8912d3b7c12575d46d2038ecce1fd76
treefbab550c0a2fe3c2b5d8ea1964892d3a1d72db29
parent0f6aaa5a945345b273bce16429c5ac56f3d1e7a9
[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