Add a config to hide the 3G option at preferred network mode UI

Add a config config_display_network_mode_3g_option to hide the 3G
option at preferred network mode UI

Bug: 261615630
Test: build pass. local test pass.
atest EnabledNetworkModePreferenceControllerTest

Change-Id: I4f94971add1d1eddc9f7c7458b8fc8fdcec3935e
(cherry picked from commit f7685dd715)
Merged-In: I4f94971add1d1eddc9f7c7458b8fc8fdcec3935e
This commit is contained in:
SongFerngWang
2023-02-08 06:12:54 +08:00
committed by SongFerng Wang
parent a48f8944f9
commit e85bb5058d
5 changed files with 130 additions and 74 deletions

View File

@@ -1374,6 +1374,10 @@
<item>"0"</item>
</string-array>
<string-array name="enabled_networks_except_gsm_3g_values" translatable="false">
<item>"9"</item>
</string-array>
<string-array name="enabled_networks_except_lte_values" translatable="false">
<item>"0"</item>
<item>"1"</item>

View File

@@ -671,4 +671,6 @@
<!-- Control messages displayed during enrollment -->
<bool name="enrollment_message_display_controller_flag">false</bool>
<!-- Whether to display the 3G option at network mode.-->
<bool name="config_display_network_mode_3g_option">true</bool>
</resources>