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

Commit 2fb6a4cf authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Reset the overview sysui state when returning to the previous task" into ub-launcher3-qt-dev

parents c1fa3abd a36c8004
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -175,6 +175,10 @@ public abstract class BaseActivity extends Activity
        mActivityFlags &= ~ACTIVITY_STATE_STARTED & ~ACTIVITY_STATE_USER_ACTIVE;
        mActivityFlags &= ~ACTIVITY_STATE_STARTED & ~ACTIVITY_STATE_USER_ACTIVE;
        mForceInvisible = 0;
        mForceInvisible = 0;
        super.onStop();
        super.onStop();

        // Reset the overridden sysui flags used for the task-swipe launch animation, this is a
        // catch all for if we do not get resumed (and therefore not paused below)
        getSystemUiController().updateUiState(UI_STATE_OVERVIEW, 0);
    }
    }


    @Override
    @Override