OSDN Git Service

Do not allow apps to cause Bluetooth to be discoverable forever
authorAjay Panicker <apanicke@google.com>
Thu, 18 Aug 2016 20:17:19 +0000 (13:17 -0700)
committerAjay Panicker <apanicke@google.com>
Thu, 18 Aug 2016 20:19:06 +0000 (13:19 -0700)
commit6dcab67c0ccf5d9a644059260a16f46a07043eee
treef7f5e515075dcc3f7916a1c5e06954c72a16432a
parent8d9ade8b9ca1e0c8beee7729954010f3660561ee
Do not allow apps to cause Bluetooth to be discoverable forever

Trying to set a discoverable timout of 0 for Bluetooth will now
not allow bluetooth to be discoverable forever.

Bug: 28177801
Change-Id: Icfa03e2100f8e7f31415ebab39889b9ec32e6c77
src/com/android/settings/bluetooth/RequestPermissionActivity.java