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

Commit 3bcbdc84 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Merge "Start tracking unknownvisibility immediately for launchBehind"...

Merge "Merge "Start tracking unknownvisibility immediately for launchBehind" into udc-dev am: 440cf522 am: 0a67167b" into udc-d1-dev-plus-aosp am: f738281a

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



Change-Id: Id7aada3cd6e5d31c70267d1b7cc2952387336cf3
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 9fd6e14a f738281a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -5170,6 +5170,12 @@ class Task extends TaskFragment {
            // task.
            r.setVisibility(true);
            ensureActivitiesVisible(null, 0, !PRESERVE_WINDOWS);
            // If launching behind, the app will start regardless of what's above it, so mark it
            // as unknown even before prior `pause`. This also prevents a race between set-ready
            // and activityPause. Launch-behind is basically only used for dream now.
            if (!r.isVisibleRequested()) {
                r.notifyUnknownVisibilityLaunchedForKeyguardTransition();
            }
            // Go ahead to execute app transition for this activity since the app transition
            // will not be triggered through the resume channel.
            mDisplayContent.executeAppTransition();