Merge "Populating ResolveInfo.UserHandle for explicit intents resolution." into udc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
33a026ae3c
@@ -571,6 +571,7 @@ public class ComputerEngine implements Computer {
|
||||
if (!blockInstantResolution && !blockNormalResolution) {
|
||||
final ResolveInfo ri = new ResolveInfo();
|
||||
ri.activityInfo = ai;
|
||||
ri.userHandle = UserHandle.of(userId);
|
||||
list = new ArrayList<>(1);
|
||||
list.add(ri);
|
||||
PackageManagerServiceUtils.applyEnforceIntentFilterMatching(
|
||||
|
||||
Reference in New Issue
Block a user