diff options
| author | 2018-03-29 04:23:46 +0000 | |
|---|---|---|
| committer | 2018-03-29 04:23:46 +0000 | |
| commit | 4f52f3fd522093d555a6962bccea6f052ac51a06 (patch) | |
| tree | 265934cb31e96c8886f1a5ab311f2f448aa6ab00 | |
| parent | 4170ab233d068b9f8744aa2d0924059e0a8b7427 (diff) | |
| parent | 4b410fa9f9a2f5a6ce3dc5cc6547a2b25fa49e0c (diff) | |
Merge "Bluetooth HIDD: Remove unplug()" into pi-dev
| -rw-r--r-- | core/java/android/bluetooth/BluetoothHidDevice.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/core/java/android/bluetooth/BluetoothHidDevice.java b/core/java/android/bluetooth/BluetoothHidDevice.java index cb1d1062681f..af99bf7dfd8e 100644 --- a/core/java/android/bluetooth/BluetoothHidDevice.java +++ b/core/java/android/bluetooth/BluetoothHidDevice.java @@ -701,29 +701,6 @@ public final class BluetoothHidDevice implements BluetoothProfile { } /** - * Sends Virtual Cable Unplug to currently connected host. - * - * @return - * {@hide} - */ - public boolean unplug(BluetoothDevice device) { - boolean result = false; - - final IBluetoothHidDevice service = mService; - if (service != null) { - try { - result = service.unplug(device); - } catch (RemoteException e) { - Log.e(TAG, e.toString()); - } - } else { - Log.w(TAG, "Proxy not attached to service"); - } - - return result; - } - - /** * Initiates connection to host which is currently paired with this device. If the application * is not registered, #connect(BluetoothDevice) will fail. The connection state should be * tracked by the application by handling callback from Callback#onConnectionStateChanged. The |