Reset the priority on unbond
Change-Id: I67b68bd70b947177218e0b908b79ebb9de9f45a8
This commit is contained in:
committed by
Matthew Xie
parent
b45e3c8fe9
commit
c70f548355
@@ -167,6 +167,12 @@ final class HeadsetProfile implements LocalBluetoothProfile {
|
||||
}
|
||||
}
|
||||
|
||||
public void setUnbonded(BluetoothDevice device)
|
||||
{
|
||||
if (mService == null) return;
|
||||
mService.setPriority(device, BluetoothProfile.PRIORITY_UNDEFINED);
|
||||
}
|
||||
|
||||
public List<BluetoothDevice> getConnectedDevices() {
|
||||
if (mService == null) return new ArrayList<BluetoothDevice>(0);
|
||||
return mService.getDevicesMatchingConnectionStates(
|
||||
|
Reference in New Issue
Block a user