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

Commit b3ced577 authored by Clara Bayarri's avatar Clara Bayarri
Browse files

Fix missing clear identity in AMS.AppTaskImpl#moveToFront

Bug: 26683257
Change-Id: Ic70864aa3e33a5362278b498e2763ce8a70e8fe4
parent 55bcae86
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