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

Commit 7129dda4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Revert^2 "Avoid notifying that launcher is visible when opening...

Merge "Revert^2 "Avoid notifying that launcher is visible when opening translucent targets."" into main
parents 07fcf1f1 84f782a0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1317,6 +1317,9 @@ public class RecentsTransitionHandler implements Transitions.TransitionHandler,
                // otherwise a new transition will notify the relevant observers
                if (returningToApp && allAppsAreTranslucent(mPausingTasks)) {
                    mHomeTransitionObserver.notifyHomeVisibilityChanged(true);
                } else if (!toHome && mState == STATE_NEW_TASK
                        && allAppsAreTranslucent(mOpeningTasks)) {
                    // We are opening a translucent app. Launcher is still visible so we do nothing.
                } else if (!toHome) {
                    // For some transitions, we may have notified home activity that it became
                    // visible. We need to notify the observer that we are no longer going home.