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

Commit 6da62f7e 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 oc-dev am: 0d01b037

Change-Id: I81ea478e735c5c3d571835a99edb1547885d76ab
parents 7461be09 0d01b037
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -18536,7 +18536,9 @@ public class PackageManagerService extends IPackageManager.Stub
                final int verificationId = mIntentFilterVerificationToken++;
                for (PackageParser.Activity a : pkg.activities) {
                    for (ActivityIntentInfo filter : a.intents) {
                        if (filter.handlesWebUris(true) && needsNetworkVerificationLPr(filter)) {
                        // Run verification against hosts mentioned in any web-nav intent filter,
                        // even if the filter matches non-web schemes as well
                        if (filter.handlesWebUris(false) && needsNetworkVerificationLPr(filter)) {
                            if (DEBUG_DOMAIN_VERIFICATION) Slog.d(TAG,
                                    "Verification needed for IntentFilter:" + filter.toString());
                            mIntentFilterVerifier.addOneIntentFilterVerification(