aboutsummaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/BluetoothUuid.java
diff options
context:
space:
mode:
authorJackson Fan <xyfan@motorola.com>2009-08-19 21:01:29 +0800
committerNick Pelly <npelly@google.com>2009-08-24 19:02:58 -0700
commit0d5387689d2eda5a4002fa228b8c11e931e9de5f (patch)
tree6233af92909ae4b428eed45a7ef8040dad5b6f3f /framework/java/android/bluetooth/BluetoothUuid.java
parentefc6e07d40fd0505d9c8bf14f84ef8262bf1f0bb (diff)
Use correct UUID to authorize AVRCP
Diffstat (limited to 'framework/java/android/bluetooth/BluetoothUuid.java')
-rw-r--r--framework/java/android/bluetooth/BluetoothUuid.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/java/android/bluetooth/BluetoothUuid.java b/framework/java/android/bluetooth/BluetoothUuid.java
index 1ec7fb38b4..c15bc20bfb 100644
--- a/framework/java/android/bluetooth/BluetoothUuid.java
+++ b/framework/java/android/bluetooth/BluetoothUuid.java
@@ -37,6 +37,7 @@ public final class BluetoothUuid {
public static final UUID Handsfree = UUID.fromString("0000111E-0000-1000-8000-00805F9B34FB");
public static final UUID AvrcpController =
UUID.fromString("0000110E-0000-1000-8000-00805F9B34FB");
+ public static final UUID AvrcpTarget = UUID.fromString("0000110C-0000-1000-8000-00805F9B34FB");
public static boolean isAudioSource(UUID uuid) {
return uuid.equals(AudioSource);
@@ -61,4 +62,8 @@ public final class BluetoothUuid {
public static boolean isAvrcpController(UUID uuid) {
return uuid.equals(AvrcpController);
}
+
+ public static boolean isAvrcpTarget(UUID uuid) {
+ return uuid.equals(AvrcpTarget);
+ }
}