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

Commit be1fb77d authored by Gil Cukierman's avatar Gil Cukierman
Browse files

Enable null cipher toggle by default

Test: atest GsmCdmaPhoneTest NullAlgorithmsPreferenceController
Test: Manual test on multiple targets and cf
Bug: 262063621
Change-Id: Ic10dbe552eb48eb19efc53e2430a7a1eb081a50e
parent fec25d4b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -59,7 +59,7 @@ public class NullAlgorithmsPreferenceController extends TelephonyTogglePreferenc
        }

        if (!DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_CELLULAR_SECURITY,
                TelephonyManager.PROPERTY_ENABLE_NULL_CIPHER_TOGGLE, false)) {
                TelephonyManager.PROPERTY_ENABLE_NULL_CIPHER_TOGGLE, true)) {
            Log.i(LOG_TAG, "Null cipher toggle is disabled by DeviceConfig");
            return CONDITIONALLY_UNAVAILABLE;
        }