Merge "fix check for provider resolution" into oc-dev am: ade1496f96

am: 3627c9479a

Change-Id: I01241d8f5c5e13be273a5187502267c633e5fd9c
This commit is contained in:
Todd Kennedy
2017-04-25 04:57:10 +00:00
committed by android-build-merger

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