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

Commit ad801195 authored by Wei Sheng Shih's avatar Wei Sheng Shih Committed by Automerger Merge Worker
Browse files

Merge "Remove activity from unknown app if starting window is relayouted."...

Merge "Remove activity from unknown app if starting window is relayouted." into sc-dev am: cfde5c2b

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

Change-Id: I1500a47cfdc4d40068843eeac9daff0d655090a3
parents 7d041263 cfde5c2b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -133,7 +133,7 @@ class UnknownAppVisibilityController {
            Slog.d(TAG, "App relayouted appWindow=" + activity);
        }
        int state = mUnknownApps.get(activity);
        if (state == UNKNOWN_STATE_WAITING_RELAYOUT) {
        if (state == UNKNOWN_STATE_WAITING_RELAYOUT || activity.mStartingWindow != null) {
            mUnknownApps.put(activity, UNKNOWN_STATE_WAITING_VISIBILITY_UPDATE);
            mService.notifyKeyguardFlagsChanged(this::notifyVisibilitiesUpdated,
                    activity.getDisplayContent().getDisplayId());