Use isMobileDataCapable/isVoiceCapable helpers in IccLockSettings
Disabling telephony support may be done either with the config_show_sim_info config option, or based on whether TelephonyManager reports data capabilities. The isMobileDataCapable() helper method ensures both ways are supported. Additionally, the logic is also updated to explicitly check for voice support, so that disabling this telephony element happens only when both mobile data and voice are unsupported. Bug: 395714454 Test: mm && atest Flag: EXEMPT bugfix Change-Id: Ib8a671aa1b8cbacf4afb96b0ea7bb45d2720b56d
Loading
Please register or sign in to comment