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

Commit 37c72e31 authored by Aleksander Morgado's avatar Aleksander Morgado
Browse files

Return UNSUPPORTED_ON_DEVICE in network/eid 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),
returning UNSUPPORTED_ON_DEVICE makes more sense than
CONDITIONALLY_UNAVAILABLE, as there is no runtime change that would
make it available.

Bug: 395714454
Test: atest MobileNetworkEidPreferenceControllerTest
Flag: EXEMPT bugfix

Change-Id: Id6418956629c5ef26c463226eaa6cfa947d4dbbc
parent 788e0e4d
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