Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8438a3a0 authored by Hansong Zhang's avatar Hansong Zhang Committed by android-build-merger
Browse files

Merge "BluetoothHidDevice: rename onIntrData to onInterruptData (1/5)"

am: 045fdae1b3

Change-Id: I8f7a28ce56435bd4d1f01631b188a62f35c3f100
parents c3b5ec7c 35258da3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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);
    }

    /**