diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-12-06 19:34:22 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-12-06 19:34:22 +0000 |
commit | 92c3f54a53da26615d32c4b97adcfec607eb48fc (patch) | |
tree | b782aef0415fc2ab6bbd3808d03d79215e37da6d /framework/java/android/bluetooth/BluetoothHidDeviceCallback.java | |
parent | 3ae8a68549e0499720126212246193b2efe2aa3f (diff) | |
parent | 097dbc35971517195778478a1c0107d89a777fea (diff) |
Merge "Bluetooth HID Device: Remove BluetoothHidDeviceAppConfiguration (2/4)"
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothHidDeviceCallback.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothHidDeviceCallback.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/framework/java/android/bluetooth/BluetoothHidDeviceCallback.java b/framework/java/android/bluetooth/BluetoothHidDeviceCallback.java index 5ccda0dc7d..dc6f9fa1ab 100644 --- a/framework/java/android/bluetooth/BluetoothHidDeviceCallback.java +++ b/framework/java/android/bluetooth/BluetoothHidDeviceCallback.java @@ -37,21 +37,17 @@ public abstract class BluetoothHidDeviceCallback { * {@link BluetoothHidDevice#registerApp * (String, String, String, byte, byte[], BluetoothHidDeviceCallback)} * or - * {@link BluetoothHidDevice#unregisterApp(BluetoothHidDeviceAppConfiguration)} + * {@link BluetoothHidDevice#unregisterApp()} * , but can be also unsolicited in case e.g. Bluetooth was turned off in * which case application is unregistered automatically. * * @param pluggedDevice {@link BluetoothDevice} object which represents host that currently has * Virtual Cable established with device. Only valid when application is registered, can be * <code>null</code>. - * @param config {@link BluetoothHidDeviceAppConfiguration} object which represents token - * required to unregister application using - * {@link BluetoothHidDevice#unregisterApp(BluetoothHidDeviceAppConfiguration)}. * @param registered <code>true</code> if application is registered, <code>false</code> * otherwise. */ - public void onAppStatusChanged(BluetoothDevice pluggedDevice, - BluetoothHidDeviceAppConfiguration config, boolean registered) { + public void onAppStatusChanged(BluetoothDevice pluggedDevice, boolean registered) { Log.d(TAG, "onAppStatusChanged: pluggedDevice=" + pluggedDevice + " registered=" + registered); } |