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

Commit 84f782a0 authored by Jon Miranda's avatar Jon Miranda
Browse files

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

This reverts commit 3395ff1e.

Reason for revert: There was nothing wrong with the change initialy,
but it was reverted as a fast fix. The root cause is fixed in
change I54bc40042e08ae2da1808427b16e3587b6da789c

Bug: 379602904
Bug: 354627538
Change-Id: I433cca553bb930751ae31066e1ccfc90fd877e55
parent 3395ff1e
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.