summaryrefslogtreecommitdiff
path: root/core/java/android/bluetooth/BluetoothHeadset.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/java/android/bluetooth/BluetoothHeadset.java')
-rwxr-xr-xcore/java/android/bluetooth/BluetoothHeadset.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/BluetoothHeadset.java b/core/java/android/bluetooth/BluetoothHeadset.java
index 75dfe9dbb4cd..8e6ebafda50f 100755
--- a/core/java/android/bluetooth/BluetoothHeadset.java
+++ b/core/java/android/bluetooth/BluetoothHeadset.java
@@ -456,6 +456,7 @@ public final class BluetoothHeadset implements BluetoothProfile {
isValidDevice(device)) {
if (priority != BluetoothProfile.PRIORITY_OFF &&
priority != BluetoothProfile.PRIORITY_ON &&
+ priority != BluetoothProfile.PRIORITY_UNDEFINED &&
priority != BluetoothProfile.PRIORITY_AUTO_CONNECT) {
return false;
}