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

Commit 6b942b8c authored by Nicolas Prevot's avatar Nicolas Prevot
Browse files

Small fix related to cross-profile result intents.

Change-Id: Id99d6406cdd8ceddacf6fee0cf66e7e59d749a15
parent c0d1fc80
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2537,8 +2537,10 @@ final class ActivityStack {
                    + " who=" + r.resultWho + " req=" + r.requestCode
                    + " res=" + resultCode + " data=" + resultData);
            if (resultTo.userId != r.userId) {
                if (resultData != null) {
                    resultData.prepareToLeaveUser(r.userId);
                }
            }
            if (r.info.applicationInfo.uid > 0) {
                mService.grantUriPermissionFromIntentLocked(r.info.applicationInfo.uid,
                        resultTo.packageName, resultData,