Loading android/app/src/com/android/bluetooth/btservice/RemoteDevices.java +7 −5 Original line number Diff line number Diff line Loading @@ -1154,6 +1154,7 @@ public class RemoteDevices { Utils.getTempAllowlistBroadcastOptions()); } else if (device.getBondState() == BluetoothDevice.BOND_NONE) { String key = Utils.getAddressStringFromByte(address); synchronized (mDevices) { mDevices.remove(key); mDeviceQueue.remove(key); // Remove from LRU cache Loading @@ -1161,6 +1162,7 @@ public class RemoteDevices { mDualDevicesMap.values().remove(key); mDualDevicesMap.remove(key); } } if (state == BluetoothAdapter.STATE_ON || state == BluetoothAdapter.STATE_TURNING_OFF) { mAdapterService.notifyAclDisconnected(device, transportLinkType); intent = new Intent(BluetoothDevice.ACTION_ACL_DISCONNECTED); Loading Loading
android/app/src/com/android/bluetooth/btservice/RemoteDevices.java +7 −5 Original line number Diff line number Diff line Loading @@ -1154,6 +1154,7 @@ public class RemoteDevices { Utils.getTempAllowlistBroadcastOptions()); } else if (device.getBondState() == BluetoothDevice.BOND_NONE) { String key = Utils.getAddressStringFromByte(address); synchronized (mDevices) { mDevices.remove(key); mDeviceQueue.remove(key); // Remove from LRU cache Loading @@ -1161,6 +1162,7 @@ public class RemoteDevices { mDualDevicesMap.values().remove(key); mDualDevicesMap.remove(key); } } if (state == BluetoothAdapter.STATE_ON || state == BluetoothAdapter.STATE_TURNING_OFF) { mAdapterService.notifyAclDisconnected(device, transportLinkType); intent = new Intent(BluetoothDevice.ACTION_ACL_DISCONNECTED); Loading