diff options
author | Jakub Pawlowski <jpawlowski@google.com> | 2017-11-22 11:02:34 -0800 |
---|---|---|
committer | Jakub Pawlowski <jpawlowski@google.com> | 2018-02-14 14:24:44 -0800 |
commit | 3f23873b7e0bc6eca4c9778caeea1fd7ae41bf15 (patch) | |
tree | 998c43ed9e4ba3c26207e596fc72051146f5653c /framework/java/android/bluetooth/BluetoothProfile.java | |
parent | cf3cfd339a2635b0ccd94ad9a3eaa7229a8f3d54 (diff) |
Hearing Aid profile
This is implementation of Hearing Aid Profile that will in future
be connected to Bluetooth Manager - see TODOs in BluetoothHearingAid.java
Bug: 69623109
Test: compilation. Manual test with HA.
Change-Id: I79643ea1e14e9df7f5771169359c964a60c56618
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothProfile.java')
-rw-r--r-- | framework/java/android/bluetooth/BluetoothProfile.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/BluetoothProfile.java b/framework/java/android/bluetooth/BluetoothProfile.java index 0e2263f773..656188fbdf 100644 --- a/framework/java/android/bluetooth/BluetoothProfile.java +++ b/framework/java/android/bluetooth/BluetoothProfile.java @@ -165,12 +165,19 @@ public interface BluetoothProfile { public static final int OPP = 20; /** + * Hearing Aid Device + * + * @hide + */ + int HEARING_AID = 21; + + /** * 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 = 20; + int MAX_PROFILE_ID = 21; /** * Default priority for devices that we try to auto-connect to and |