OSDN Git Service

Bluetooth: Make pairing notification cancellable
authorMarie Janssen <jamuraa@google.com>
Wed, 19 Apr 2017 20:47:07 +0000 (13:47 -0700)
committerAjay Panicker <apanicke@google.com>
Fri, 21 Apr 2017 20:19:20 +0000 (20:19 +0000)
commitf8aaed9e1f81cd61efaaf8b9d49adb5387ca669a
treef8022998d92a800b7bdeb94e7c5c9e601e141bbb
parent057bd054202e1a52fc1581156375de6514e12a1f
Bluetooth: Make pairing notification cancellable

Add actions to the pairing service notification so the user can dismiss
the pairing request if they want to.

Add some more information to logs when the user takes an action.

Reformat the file to match android style.

Test: pair from a remote device, dismiss using the new actions
Bug: 36036358
Change-Id: Ie110044bd4caf465f454452737000f01e7430925
(cherry picked from commit c79470d0896f5ccfaa9a0e872dd396d47ec28daf)
src/com/android/settings/bluetooth/BluetoothPairingService.java