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

Commit 27a38880 authored by Clara Bayarri's avatar Clara Bayarri Committed by Android (Google) Code Review
Browse files

Merge "Fix missing clear identity in AMS.AppTaskImpl#moveToFront"

parents c9d831d6 b3ced577
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -21143,7 +21143,12 @@ public final class ActivityManagerService extends ActivityManagerNative
        public void moveToFront() {
            checkCaller();
            // Will bring task to front if it already has a root activity.
            final long origId = Binder.clearCallingIdentity();
            try {
                startActivityFromRecentsInner(mTaskId, null);
            } finally {
                Binder.restoreCallingIdentity(origId);
            }
        }
        @Override