diff options
| author | Hemant Gupta <hemantg@codeaurora.org> | 2014-04-18 11:22:45 +0530 |
|---|---|---|
| committer | Myles Watson <mylesgw@google.com> | 2016-12-29 14:29:53 +0000 |
| commit | 7d82a61d972018cfa94f983a97283718c34ce4e0 (patch) | |
| tree | 821df572e3a145e8f31b55a5a0819bf1d36b502a /framework/java/android/bluetooth/BluetoothProfile.java | |
| parent | c5fdfc6d368ba26bc8b1a2fb4fb67c4e78c6b263 (diff) | |
Bluetooth: Add support for HID Device Role
This patch adds the HID Device Role support in Bluetooth framework.
Also AIDL and callback related files for HID Device role are added
to provide interface for third party applications to communicate with
HID Device Service.
Change-Id: Id03a362b7bcfa2e76056fa0197eaac12ce49b5a2
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothProfile.java')
| -rw-r--r-- | framework/java/android/bluetooth/BluetoothProfile.java | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothProfile.java b/framework/java/android/bluetooth/BluetoothProfile.java index f3636070fa..6a009a9ba2 100644 --- a/framework/java/android/bluetooth/BluetoothProfile.java +++ b/framework/java/android/bluetooth/BluetoothProfile.java @@ -143,11 +143,17 @@ public interface BluetoothProfile { public static final int MAP_CLIENT = 18; /** + * HID device + * @hide + */ + static public final int HID_DEVICE = 19; + + /** * Max profile ID. This value should be updated whenever a new profile is added to match * the largest value assigned to a profile. * @hide */ - public static final int MAX_PROFILE_ID = 17; + public static final int MAX_PROFILE_ID = 19; /** * Default priority for devices that we try to auto-connect to and |
