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

This commit is contained in:
Raphael Kim
2023-01-07 18:54:45 +00:00
committed by Android (Google) Code Review

View File

@@ -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