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

Commit 161c7896 authored by Aleksander Morgado's avatar Aleksander Morgado
Browse files

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
parent d098dccf
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