From be1fb77da5b52469f0cbc0aa76addae225133ef6 Mon Sep 17 00:00:00 2001 From: Gil Cukierman Date: Fri, 28 Apr 2023 15:40:46 +0000 Subject: [PATCH] Enable null cipher toggle by default Test: atest GsmCdmaPhoneTest NullAlgorithmsPreferenceController Test: Manual test on multiple targets and cf Bug: 262063621 Change-Id: Ic10dbe552eb48eb19efc53e2430a7a1eb081a50e --- .../network/telephony/NullAlgorithmsPreferenceController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/settings/network/telephony/NullAlgorithmsPreferenceController.java b/src/com/android/settings/network/telephony/NullAlgorithmsPreferenceController.java index be5b01ee83b..7306aaf25f5 100644 --- a/src/com/android/settings/network/telephony/NullAlgorithmsPreferenceController.java +++ b/src/com/android/settings/network/telephony/NullAlgorithmsPreferenceController.java @@ -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; }