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

Commit b33071a3 authored by Chris Tate's avatar Chris Tate Committed by Automerger Merge Worker
Browse files

Merge "Verify all possible hosts that match web nav" into rvc-dev am: 21f4dd5c

Change-Id: Ic781f4bb1e9a81fd65b8a68b192013e0d5ac43b6
parents 7aad5fc3 21f4dd5c
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -17572,11 +17572,13 @@ public class PackageManagerService extends IPackageManager.Stub
            }
            if (needToVerify) {
                final boolean needsVerification = needsNetworkVerificationLPr(packageName);
                final int verificationId = mIntentFilterVerificationToken++;
                for (ParsedActivity a : activities) {
                    for (ParsedIntentInfo filter : a.getIntents()) {
                        if (filter.handlesWebUris(true)
                                && needsNetworkVerificationLPr(a.getPackageName())) {
                        // Run verification against hosts mentioned in any web-nav intent filter,
                        // even if the filter matches non-web schemes as well
                        if (needsVerification && filter.handlesWebUris(false)) {
                            if (DEBUG_DOMAIN_VERIFICATION) Slog.d(TAG,
                                    "Verification needed for IntentFilter:" + filter.toString());
                            mIntentFilterVerifier.addOneIntentFilterVerification(