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

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

Merge "Avoid notifying that launcher is visible when opening translucent targets." into main

parents f6374942 a44e4418
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1308,6 +1308,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.