Merge "Small fix related to cross-profile result intents."
This commit is contained in:
committed by
Android (Google) Code Review
commit
f3bbf2b801
@@ -2537,7 +2537,9 @@ final class ActivityStack {
|
||||
+ " who=" + r.resultWho + " req=" + r.requestCode
|
||||
+ " res=" + resultCode + " data=" + resultData);
|
||||
if (resultTo.userId != r.userId) {
|
||||
resultData.prepareToLeaveUser(r.userId);
|
||||
if (resultData != null) {
|
||||
resultData.prepareToLeaveUser(r.userId);
|
||||
}
|
||||
}
|
||||
if (r.info.applicationInfo.uid > 0) {
|
||||
mService.grantUriPermissionFromIntentLocked(r.info.applicationInfo.uid,
|
||||
|
||||
Reference in New Issue
Block a user