diff options
author | Ćukasz Rymanowski <lukasz.rymanowski@codecoup.pl> | 2021-01-26 06:39:08 +0000 |
---|---|---|
committer | Jakub Pawlowski <jpawlowski@google.com> | 2021-06-14 15:18:05 +0000 |
commit | 1b3ac7733b50556d440ec8a5453645c074301c7b (patch) | |
tree | 0638793b219bdef08ff5bec3b939fff24a6b4563 /framework/java/android/bluetooth/BluetoothProfile.java | |
parent | 0a67fabedbf8f985ba2c7b85591213a3f053590a (diff) |
Bluetooth: add Volume Control Profile boilerpalate
This is very simple API to allow Android to connect VCP profile.
Bug: 150670922
Test: compilation
Sponsor: jpawlowski@
CTS-Coverage-Bug: 190833351
Change-Id: Ib20d967fcf6797077abf83b40b0eda526e5ab89d
Merged-In: Ib20d967fcf6797077abf83b40b0eda526e5ab89d
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 201d6c495d..d9791026ad 100644 --- a/framework/java/android/bluetooth/BluetoothProfile.java +++ b/framework/java/android/bluetooth/BluetoothProfile.java @@ -215,12 +215,18 @@ public interface BluetoothProfile { int LE_AUDIO = 22; /** + * Volume Control profile + * + */ + int VOLUME_CONTROL = 23; + + /** * Max profile ID. This value should be updated whenever a new profile is added to match * the largest value assigned to a profile. * * @hide */ - int MAX_PROFILE_ID = 22; + int MAX_PROFILE_ID = 23; /** * Default priority for devices that we try to auto-connect to and |