Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ada1f638 authored by Matthew Xie's avatar Matthew Xie Committed by Android (Google) Code Review
Browse files

Merge "Reset priority on unbond" into jb-mr1-dev

parents 1103d005 82e57fe1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
            }
+1 −0
Original line number Diff line number Diff line
@@ -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;
            }