Merge "fix check for provider resolution" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ade1496f96
@@ -7683,6 +7683,7 @@ public class PackageManagerService extends IPackageManager.Stub
|
||||
}
|
||||
// instant application; filter out non-exposed provider
|
||||
if (instantAppPkgName != null
|
||||
&& !isInstantApp
|
||||
&& (provider.info.flags & ProviderInfo.FLAG_VISIBLE_TO_EPHEMERAL) == 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user