Use isMobileDataCapable/isVoiceCapable helpers in network/ components
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. Depending on either voice or data support: * EraseEuiccDataController * NetworkProviderSettings * NetworkResetPreferenceController Depending on voice support: * NetworkProviderCallsSmsController * NetworkProviderCallsSmsFragment Bug: 395714454 Test: mm && atest Flag: EXEMPT bugfix Change-Id: I6177d249a7e407bb1ec06e0a442a354bf00a7413
Loading
Please register or sign in to comment