Merge "Fix a shared identity test" into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
1ce7457c36
@@ -909,6 +909,10 @@ class BroadcastQueueModernImpl extends BroadcastQueue {
|
|||||||
final IApplicationThread thread = app.getOnewayThread();
|
final IApplicationThread thread = app.getOnewayThread();
|
||||||
if (thread != null) {
|
if (thread != null) {
|
||||||
try {
|
try {
|
||||||
|
if (r.shareIdentity) {
|
||||||
|
mService.mPackageManagerInt.grantImplicitAccess(r.userId, r.intent,
|
||||||
|
UserHandle.getAppId(app.uid), r.callingUid, true);
|
||||||
|
}
|
||||||
if (receiver instanceof BroadcastFilter) {
|
if (receiver instanceof BroadcastFilter) {
|
||||||
notifyScheduleRegisteredReceiver(app, r, (BroadcastFilter) receiver);
|
notifyScheduleRegisteredReceiver(app, r, (BroadcastFilter) receiver);
|
||||||
thread.scheduleRegisteredReceiver(
|
thread.scheduleRegisteredReceiver(
|
||||||
|
|||||||
Reference in New Issue
Block a user