Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc576cfb authored by Todd Kennedy's avatar Todd Kennedy
Browse files

fix check for provider resolution

Change-Id: I504e16463fbd58fb97a65ca74ffa38697e715652
Fixes: 37547666
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.EphemeralTest#testEphemeralQuery
parent 0db9724b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -7672,6 +7672,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;
                }