summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/BluetoothProfile.java
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@codecoup.pl>2021-03-01 13:02:25 +0000
committerJakub Pawlowski <jpawlowski@google.com>2021-08-09 15:37:52 +0000
commit723fe23ce87d942fadeb02887bf932d9e8f4ed4b (patch)
treec510adaf3e46ca4c261dce8fcab987e4201ac8e5 /core/java/android/bluetooth/BluetoothProfile.java
parentc74aebb4db3491c7f598a2080ebf207cab8b3051 (diff)
Bluetooth: Add Media Control Profile
Tag: #feature Bug: 150670922 Sponsor: jpawlowski@ Test: compilation Change-Id: Icabed06e6b1973ecee9cd1d6eeec80c6d2a9d72e
Diffstat (limited to 'core/java/android/bluetooth/BluetoothProfile.java')
-rw-r--r--core/java/android/bluetooth/BluetoothProfile.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/core/java/android/bluetooth/BluetoothProfile.java b/core/java/android/bluetooth/BluetoothProfile.java
index b76d6b869131..bea32abd06cd 100644
--- a/core/java/android/bluetooth/BluetoothProfile.java
+++ b/core/java/android/bluetooth/BluetoothProfile.java
@@ -222,12 +222,19 @@ public interface BluetoothProfile {
int VOLUME_CONTROL = 23;
/**
+ * @hide
+ * Media Control Profile server
+ *
+ */
+ int MCP_SERVER = 24;
+
+ /**
* 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 = 23;
+ int MAX_PROFILE_ID = 24;
/**
* Default priority for devices that we try to auto-connect to and