diff options
| -rw-r--r-- | api/current.txt | 2 | ||||
| -rw-r--r-- | core/java/android/bluetooth/BluetoothHidDevice.java | 6 | ||||
| -rw-r--r-- | core/java/android/bluetooth/BluetoothHidDeviceCallback.java | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/api/current.txt b/api/current.txt index d543ae9133a6..0810f4af7664 100644 --- a/api/current.txt +++ b/api/current.txt @@ -7991,7 +7991,7 @@ package android.bluetooth { method public void onAppStatusChanged(android.bluetooth.BluetoothDevice, boolean); method public void onConnectionStateChanged(android.bluetooth.BluetoothDevice, int); method public void onGetReport(android.bluetooth.BluetoothDevice, byte, byte, int); - method public void onIntrData(android.bluetooth.BluetoothDevice, byte, byte[]); + method public void onInterruptData(android.bluetooth.BluetoothDevice, byte, byte[]); method public void onSetProtocol(android.bluetooth.BluetoothDevice, byte); method public void onSetReport(android.bluetooth.BluetoothDevice, byte, byte, byte[]); method public void onVirtualCableUnplug(android.bluetooth.BluetoothDevice); diff --git a/core/java/android/bluetooth/BluetoothHidDevice.java b/core/java/android/bluetooth/BluetoothHidDevice.java index f38e462eab4f..2fab305ba8bd 100644 --- a/core/java/android/bluetooth/BluetoothHidDevice.java +++ b/core/java/android/bluetooth/BluetoothHidDevice.java @@ -85,7 +85,7 @@ public final class BluetoothHidDevice implements BluetoothProfile { * * @see BluetoothHidDeviceCallback#onGetReport(BluetoothDevice, byte, byte, int) * @see BluetoothHidDeviceCallback#onSetReport(BluetoothDevice, byte, byte, byte[]) - * @see BluetoothHidDeviceCallback#onIntrData(BluetoothDevice, byte, byte[]) + * @see BluetoothHidDeviceCallback#onInterruptData(BluetoothDevice, byte, byte[]) */ public static final byte REPORT_TYPE_INPUT = (byte) 1; public static final byte REPORT_TYPE_OUTPUT = (byte) 2; @@ -155,8 +155,8 @@ public final class BluetoothHidDevice implements BluetoothProfile { } @Override - public void onIntrData(BluetoothDevice device, byte reportId, byte[] data) { - mCallback.onIntrData(device, reportId, data); + public void onInterruptData(BluetoothDevice device, byte reportId, byte[] data) { + mCallback.onInterruptData(device, reportId, data); } @Override diff --git a/core/java/android/bluetooth/BluetoothHidDeviceCallback.java b/core/java/android/bluetooth/BluetoothHidDeviceCallback.java index bd19955b4e62..e71b00f2349f 100644 --- a/core/java/android/bluetooth/BluetoothHidDeviceCallback.java +++ b/core/java/android/bluetooth/BluetoothHidDeviceCallback.java @@ -106,8 +106,8 @@ public abstract class BluetoothHidDeviceCallback { * @param reportId Report Id. * @param data Report data. */ - public void onIntrData(BluetoothDevice device, byte reportId, byte[] data) { - Log.d(TAG, "onIntrData: device=" + device + " reportId=" + reportId); + public void onInterruptData(BluetoothDevice device, byte reportId, byte[] data) { + Log.d(TAG, "onInterruptData: device=" + device + " reportId=" + reportId); } /** |