Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b173a2e7 authored by Aleksander Morgado's avatar Aleksander Morgado
Browse files

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
parent 161c7896
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment