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

Commit 60b29a56 authored by Liana Kazanova's avatar Liana Kazanova Committed by Automerger Merge Worker
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 am: 534925c2

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20612010



Change-Id: If2d218258c59d45d1581ac8f83569539c1d8ab59
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 3fbbfbec 534925c2
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");
            }
        }
    }
}