Hide the 5G opiton when 5G has been disallowed
1. Create PreferenceEntriesBuilder for 5G entry. In the past, the preferred network type entries was based on CarrierConfigManger value but 5G option is based on allowed netowork type and device access family, so include 4G and 5G logic in PreferenceEntriesBuilder. 2. If user selected item not in preferred network option, settings will auto selected on the first item. For example, if user selected on 5G and device disallowed 5G(5G option will be hide), so settings will selected on first item(4G). Bug: 149721842 Test: EnabledNetworkModePreferenceControllerTest Change-Id: Ic447a137f9db4cf1a0048a8e58487c29b402bb48
Loading
Please register or sign in to comment