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

Skip to content
Commit 430e92f2 authored by Gil Cukierman's avatar Gil Cukierman
Browse files

Honor Feature Flag When Updating Null Cipher Settings

When a GsmCdmaPhone instance is asked to handle a null cipher
update, it will first check the cellular_security namespace for
the enable_null_cipher_toggle flag. If the flag is false (the default),
no command will be sent through the RIL to the modem.

When the feature flag is set to false after previously having been set
to true (feature disablement), the user's device will maintain the
behavior of the active setting until the modem reboots. Since one reason we may want to disable this feature is an issue in the HAL integration itself, it could be unsafe to try and call the modem to reset state, so we implement the simpler and safer option.

Bug: b/262063470
Test: atest GsmCdmaPhoneTest
Change-Id: I0ab9f118ef2df816c3b878c3a34d60f1c35518ab
parent 6901dfc3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment