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

Commit d5410ca5 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Don't remove bonding device from cached device list during inquiry"

parents d5dca64f 5ea726b5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ public class CachedBluetoothDeviceManager {
    public synchronized void clearNonBondedDevices() {
        for (int i = mCachedDevices.size() - 1; i >= 0; i--) {
            CachedBluetoothDevice cachedDevice = mCachedDevices.get(i);
            if (cachedDevice.getBondState() != BluetoothDevice.BOND_BONDED) {
            if (cachedDevice.getBondState() == BluetoothDevice.BOND_NONE) {
                mCachedDevices.remove(i);
            }
        }