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

Commit 8f8525fc authored by Azhara Assanova's avatar Azhara Assanova
Browse files

Use the correct intent variable for computing result caller info

Bug: 293467489
Test: atest CtsAndroidAppTestCases:android.app.cts.ComponentCallerTest
Test: atest CtsAndroidAppTestCases:android.app.cts.ShareIdentityTest
Change-Id: I70affa160c6724f6c7621842f7c5aee06a254893
parent e32633ff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3549,7 +3549,7 @@ final class ActivityRecord extends WindowToken implements WindowManagerService.A
            IBinder callerToken = new Binder();
            if (android.security.Flags.contentUriPermissionApis()) {
                try {
                    resultTo.computeCallerInfo(callerToken, intent, this.getUid(),
                    resultTo.computeCallerInfo(callerToken, resultData, this.getUid(),
                            mAtmService.getPackageManager().getNameForUid(this.getUid()),
                            /* isShareIdentityEnabled */ false);
                    // Result callers cannot share their identity via