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

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

Merge "Fix incorrect hstsEnforced lookup" am: 1347cb81 am: 90b9ed5c

am: d28d4bcf

* commit 'd28d4bcf':
  Fix incorrect hstsEnforced lookup
parents 94d0b64d d28d4bcf
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);