diff options
| author | 2024-11-13 16:02:53 -0800 | |
|---|---|---|
| committer | 2024-11-22 08:46:06 -0800 | |
| commit | 13a3668888d1ed3d2b198109d9bcb6516c389106 (patch) | |
| tree | 2ad42744e271e4ee8421aa1727294b51b3b83c8b /libs/androidfw/FileStream.cpp | |
| parent | ca649f050adca02daf1b8342bbd456c8a9fa4cbd (diff) | |
disable 2g networking when advanced protection is enabled
This needs to happen both when the service starts (after reboot) as well
as when the state changes.
If the APM is disabled (after having been enabled) the switch needs to
fall back to the more-secure mode (2G disallowed) but allow the user to
re-enable it if desired.
Test: manually check switch is greyed out and disabled when aapm is
enabled
Test: manually check switch is available, but off, when aapm is disabled
Bug: 374803296
Flag: android.security.aapm_feature_disable_cellular_2g
Change-Id: Iec108733cf8353ad90329d9999fb4e08916522c3
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions