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

Commit 46a23cd0 authored by Tim Murray's avatar Tim Murray Committed by Android (Google) Code Review
Browse files

Merge "ActivityTaskManagerService: clear previous if it becomes topApp"

parents 10f8ea13 f45df50b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4841,6 +4841,7 @@ public class ActivityTaskManagerService extends IActivityTaskManager.Stub {
                // If there is no resumed activity, it will choose the pausing or focused activity.
                : mRootWindowContainer.getTopResumedActivity();
        mTopApp = top != null ? top.app : null;
        if (mTopApp == mPreviousProcess) mPreviousProcess = null;
    }

    /**