Merge "Reset priority on unbond" into jb-mr1-dev
This commit is contained in:
@@ -338,6 +338,7 @@ public final class BluetoothA2dp implements BluetoothProfile {
|
||||
&& isValidDevice(device)) {
|
||||
if (priority != BluetoothProfile.PRIORITY_OFF &&
|
||||
priority != BluetoothProfile.PRIORITY_ON &&
|
||||
priority != BluetoothProfile.PRIORITY_UNDEFINED &&
|
||||
priority != BluetoothProfile.PRIORITY_AUTO_CONNECT) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user