Enable null cipher toggle by default
Test: atest GsmCdmaPhoneTest NullAlgorithmsPreferenceController Test: Manual test on multiple targets and cf Bug: 262063621 Change-Id: Ic10dbe552eb48eb19efc53e2430a7a1eb081a50e
This commit is contained in:
@@ -59,7 +59,7 @@ public class NullAlgorithmsPreferenceController extends TelephonyTogglePreferenc
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!DeviceConfig.getBoolean(DeviceConfig.NAMESPACE_CELLULAR_SECURITY,
|
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");
|
Log.i(LOG_TAG, "Null cipher toggle is disabled by DeviceConfig");
|
||||||
return CONDITIONALLY_UNAVAILABLE;
|
return CONDITIONALLY_UNAVAILABLE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user