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

Commit 90b9ed5c authored by Chad Brubaker's avatar Chad Brubaker Committed by android-build-merger
Browse files

Merge "Fix incorrect hstsEnforced lookup"

am: 1347cb81

* commit '1347cb81':
  Fix incorrect hstsEnforced lookup
parents 2d7d8401 1347cb81
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -233,7 +233,7 @@ public final class NetworkSecurityConfig {

        public NetworkSecurityConfig build() {
            boolean cleartextPermitted = getEffectiveCleartextTrafficPermitted();
            boolean hstsEnforced = getEffectiveCleartextTrafficPermitted();
            boolean hstsEnforced = getEffectiveHstsEnforced();
            PinSet pinSet = getEffectivePinSet();
            List<CertificatesEntryRef> entryRefs = getEffectiveCertificatesEntryRefs();
            return new NetworkSecurityConfig(cleartextPermitted, hstsEnforced, pinSet, entryRefs);