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

Commit 3395ff1e authored by Jon Miranda's avatar Jon Miranda Committed by Android (Google) Code Review
Browse files

Revert "Avoid notifying that launcher is visible when opening translucent targets."

This reverts commit a44e4418.

Reason for revert: b/379800273
Fixes: 379800273

Change-Id: If0e3df27a088787b9e36686c69adfc6cbd3347d7
parent a44e4418
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1298,9 +1298,6 @@ 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.