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

Commit 4c499be0 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Fix that Keyguard didn't always get onActivityDrawn call

Bug: 16481924
Change-Id: I299645c940c71820aa7dc70985e41da869f1368a
parent 473119fd
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1492,6 +1492,9 @@ final class ActivityStack {
            ActivityOptions.abort(options);
            if (DEBUG_STATES) Slog.d(TAG, "resumeTopActivityLocked: Top activity resumed " + next);
            if (DEBUG_STACK) mStackSupervisor.validateTopActivitiesLocked();

            // Make sure to notify Keyguard as well if it is waiting for an activity to be drawn.
            mStackSupervisor.notifyActivityDrawnForKeyguard();
            return false;
        }