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

Commit 718e9a57 authored by Winson Chung's avatar Winson Chung
Browse files

Fix issue with settings launch animation

- Remove call to override the windowing mode, it seems like we already
  create a new root task with the right windowing mode now

Bug: 152439204
Test: Launch settings from quick settings over home,
      ensure that animation plays
Change-Id: I48f747a7f4fdf664945b02d1fb3694ab454cf35e
parent 53e927f8
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -168,7 +168,6 @@ class ActivityStarter {

    // The task display area to launch the activity onto, barring any strong reason to do otherwise.
    private TaskDisplayArea mPreferredTaskDisplayArea;
    // The windowing mode to apply to the root task, if possible
    private int mPreferredWindowingMode;

    private Task mInTask;
@@ -1560,9 +1559,6 @@ class ActivityStarter {
        if (!mAvoidMoveToFront && mDoResume) {
            mTargetStack.getStack().moveToFront("reuseOrNewTask", targetTask);
            if (mOptions != null) {
                if (mPreferredWindowingMode != WINDOWING_MODE_UNDEFINED) {
                    mTargetStack.setWindowingMode(mPreferredWindowingMode);
                }
                if (mOptions.getTaskAlwaysOnTop()) {
                    mTargetStack.setAlwaysOnTop(true);
                }