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

Commit 0ee14740 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Fix SafeActivityOptions construction in startActivityFromRecents" into pi-dev

parents 5dbde05f 1282bc2f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -5401,11 +5401,12 @@ public class ActivityManagerService extends IActivityManager.Stub
        final int callingPid = Binder.getCallingPid();
        final int callingUid = Binder.getCallingUid();
        final SafeActivityOptions safeOptions = SafeActivityOptions.fromBundle(bOptions);
        final long origId = Binder.clearCallingIdentity();
        try {
            synchronized (this) {
                return mStackSupervisor.startActivityFromRecents(callingPid, callingUid, taskId,
                        SafeActivityOptions.fromBundle(bOptions));
                        safeOptions);
            }
        } finally {
            Binder.restoreCallingIdentity(origId);