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

Commit 5c2f87ea authored by Chavi Weingarten's avatar Chavi Weingarten Committed by android-build-merger
Browse files

Merge "Don't add stopping apps in relaunch based on stopped flag." into pi-dev am: ab762775

am: 2d574c06

Change-Id: I42020ba8bf81264ef2c92a74ee1cf64609f7b0d7
parents b72abb9a 2d574c06
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -2738,11 +2738,6 @@ final class ActivityRecord extends ConfigurationContainer implements AppWindowCo
        } else {
            service.mHandler.removeMessages(PAUSE_TIMEOUT_MSG, this);
            setState(PAUSED, "relaunchActivityLocked");
            // if the app is relaunched when it's stopped, and we're not resuming,
            // put it back into stopped state.
            if (stopped) {
                getStack().addToStopping(this, true /* scheduleIdle */, false /* idleDelayed */);
            }
        }

        configChangeFlags = 0;