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

Commit 534925c2 authored by Liana Kazanova's avatar Liana Kazanova Committed by Android (Google) Code Review
Browse files

Merge "Ignore scheduled onDeviceGone call on simulated device if it is already...

Merge "Ignore scheduled onDeviceGone call on simulated device if it is already no longer present." into tm-dev
parents 90a0e261 dd5a3ff6
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -363,7 +363,9 @@ public class CompanionDevicePresenceMonitor implements AssociationStore.OnChange
        @Override
        public void handleMessage(@NonNull Message msg) {
            final int associationId = msg.what;
            if (mSimulated.contains(associationId)) {
                onDeviceGone(mSimulated, associationId, /* sourceLoggingTag */ "simulated");
            }
        }
    }
}