Use isMobileDataCapable/isVoiceCapable helpers in network/BluetoothWiFiResetPreferenceController
Instead of relying exclusively on the config_show_sim_info config option to disable telephony support, use both isMobileDataCapable() and isVoiceCapable() helper methods to check for the telephony support on runtime, based on the TelephonyManager capabilities. Bug: 395714454 Test: mm && atest BluetoothWiFiResetPreferenceControllerTest Flag: EXEMPT bugfix Change-Id: Ic09e6aa2da6430989c386d367e94ac905f72b67b
Loading
Please register or sign in to comment