Redesign the setPreferredNetworkType
Some APPs(like OMA DM) might enable or disable 5G settings, so redesign the setPreferredNetworkType behavior. 1. Create allowed_network_type in telephonyprovider 2. Create get/set allowed network type API 3. When APPs call setPreferredNetworkType() that will AND with allowed network type. Bug: 136730709 Test: By Manual 1. setAllowedNetwork to disable 5G 2. setPreferredNetworkTypeBitmask to set NR_LTE_GSM_WCDMA 3. framework set LTE_GSM_WCDMA to modem Change-Id: Ia257e6ddaa33c32bc09340a59c9daf71ce1fa8cf
Loading
Please register or sign in to comment