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

Commit af253b53 authored by Raphael Kim's avatar Raphael Kim
Browse files

Remove simulated device from "present" list when disassociated.

Bug: 262910767
Test: atest CtsCompanionDeviceManagerCoreTestCases --iterations 10
Change-Id: Ia9a5de47ce0cc1293c1b99d7247bceccf36d5808
parent 263814a9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -281,6 +281,7 @@ public class CompanionDevicePresenceMonitor implements AssociationStore.OnChange
        mConnectedBtDevices.remove(id);
        mNearbyBleDevices.remove(id);
        mReportedSelfManagedDevices.remove(id);
        mSimulated.remove(id);

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