Merge "fix check for provider resolution" into oc-dev

This commit is contained in:
TreeHugger Robot
2017-04-25 04:44:51 +00:00
committed by Android (Google) Code Review

View File

@@ -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;
}