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

Commit a44e4418 authored by Jon Miranda's avatar Jon Miranda
Browse files

Avoid notifying that launcher is visible when opening translucent targets.

Bug: 354627538
Test: HomeTransitionObserverTest
Flag: EXEMPT bugfix
Change-Id: I6015add3f2f7136c6175c3a2d415a68f011514de
parent ca0eb3a3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1298,6 +1298,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.