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