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

Commit 412f07e9 authored by Riddle Hsu's avatar Riddle Hsu Committed by Android (Google) Code Review
Browse files

Merge "Do not block transition by non-resumed relayouted activity" into main

parents 2f7e9dd7 2fb1df69
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -153,6 +153,10 @@ class UnknownAppVisibilityController {
            mUnknownApps.put(activity, UNKNOWN_STATE_WAITING_VISIBILITY_UPDATE);
            mDisplayContent.notifyKeyguardFlagsChanged();
            notifyVisibilitiesUpdated();
        } else if (state == UNKNOWN_STATE_WAITING_RESUME
                && !activity.isState(ActivityRecord.State.RESUMED)) {
            Slog.d(TAG, "UAVC: skip waiting for non-resumed relayouted " + activity);
            mUnknownApps.remove(activity);
        }
    }