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

Commit 7dafec61 authored by Raphael Kim's avatar Raphael Kim Committed by Android (Google) Code Review
Browse files

Merge "Remove simulated device from "present" list when disassociated." into tm-dev

parents 5ebf0a56 af253b53
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -281,6 +281,7 @@ public class CompanionDevicePresenceMonitor implements AssociationStore.OnChange
        mConnectedBtDevices.remove(id);
        mConnectedBtDevices.remove(id);
        mNearbyBleDevices.remove(id);
        mNearbyBleDevices.remove(id);
        mReportedSelfManagedDevices.remove(id);
        mReportedSelfManagedDevices.remove(id);
        mSimulated.remove(id);


        // Do NOT call mCallback.onDeviceDisappeared()!
        // Do NOT call mCallback.onDeviceDisappeared()!
        // CompanionDeviceManagerService will know that the association is removed, and will do
        // CompanionDeviceManagerService will know that the association is removed, and will do