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

Commit 2002f5bc authored by Aleksander Morgado's avatar Aleksander Morgado
Browse files

Hide SimLockPreferenceController when no telephony

If the device does not have any telephony support (either via the
build-time config_show_sim_info=false boolean flag, or when not
declaring the PackageManager.FEATURE_TELEPHONY_DATA feature flag),
return UNSUPPORTED_ON_DEVICE availability as there is no runtime
change that would make it available.

Bug: 395714454
Test: atest SimLockPreferenceControllerTest
Flag: EXEMPT bugfix
Change-Id: Id27861625cdf4f1584bd751161f5da0864dca2da
parent 1b92b7a3
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