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

Commit 1a5e9f0d authored by Issei Suzuki's avatar Issei Suzuki Committed by Android (Google) Code Review
Browse files

Merge "Suppress app transition when the process is not ready"

parents d8bfc602 5205af71
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1646,6 +1646,13 @@ public class ActivityStackSupervisor extends ConfigurationContainer implements D
            // restart the application.
        }

        // Suppress transition until the new activity becomes ready, otherwise the keyguard can
        // appear for a short amount of time before the new process with the new activity had the
        // ability to set its showWhenLocked flags.
        if (getKeyguardController().isKeyguardLocked()) {
            r.notifyUnknownVisibilityLaunched();
        }

        // Post message to start process to avoid possible deadlock of calling into AMS with the
        // ATMS lock held.
        final Message msg = PooledLambda.obtainMessage(