summaryrefslogtreecommitdiffstats
path: root/core/java
diff options
context:
space:
mode:
authorMike J. Chen <mjchen@google.com>2014-01-27 16:27:04 -0800
committerMike J. Chen <mjchen@google.com>2014-01-27 16:27:04 -0800
commit1b47f7cc1af63b3ae8ec79808dbf6147b73db605 (patch)
tree59a6c937b101025f36ecfcc92008e8c28f116905 /core/java
parent5d094b947b328d2631a0203c1527b0c7c20ce219 (diff)
downloadframeworks_base-1b47f7cc1af63b3ae8ec79808dbf6147b73db605.zip
frameworks_base-1b47f7cc1af63b3ae8ec79808dbf6147b73db605.tar.gz
frameworks_base-1b47f7cc1af63b3ae8ec79808dbf6147b73db605.tar.bz2
BluetoothInputDevice: make REPORT_TYPE values match hal
So we don't have to do conversion when using getReport/setReport and can pass the value to the BT HAL directly. Change-Id: I8d4af72d2e040d43cc9ff8a8cddfbe6cc8cfdb9a Signed-off-by: Mike J. Chen <mjchen@google.com>
Diffstat (limited to 'core/java')
-rw-r--r--core/java/android/bluetooth/BluetoothInputDevice.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/java/android/bluetooth/BluetoothInputDevice.java b/core/java/android/bluetooth/BluetoothInputDevice.java
index 844f432..bc3ad44 100644
--- a/core/java/android/bluetooth/BluetoothInputDevice.java
+++ b/core/java/android/bluetooth/BluetoothInputDevice.java
@@ -130,17 +130,17 @@ public final class BluetoothInputDevice implements BluetoothProfile {
/**
* @hide
*/
- public static final byte REPORT_TYPE_INPUT = 0;
+ public static final byte REPORT_TYPE_INPUT = 1;
/**
* @hide
*/
- public static final byte REPORT_TYPE_OUTPUT = 1;
+ public static final byte REPORT_TYPE_OUTPUT = 2;
/**
* @hide
*/
- public static final byte REPORT_TYPE_FEATURE = 2;
+ public static final byte REPORT_TYPE_FEATURE = 3;
/**
* @hide