OSDN Git Service

Bluetooth HIDD: Remove unplug()
authorHansong Zhang <hsz@google.com>
Wed, 28 Mar 2018 19:56:05 +0000 (12:56 -0700)
committerMyles Watson <mylesgw@google.com>
Wed, 28 Mar 2018 20:11:18 +0000 (20:11 +0000)
commitdbc6d14f6ec399e63cee29adbe01fffcb166500f
tree5fa3c306abd293280b903598e73307dbfda48fb6
parent8d8921d7fce01ca34cd423e16e1c6b0cb2b4b081
Bluetooth HIDD: Remove unplug()

Remove the hidden unplug() API because it is not used and it can cause
the remote device to be unpaired. System apps should use unbond() and
user apps should not use reflection to invoke it.

Bug: 67866553
Test: SL4A
Change-Id: I1bdc06dbb5460c9fd52230b78cbf9434a4349d24
core/java/android/bluetooth/BluetoothHidDevice.java