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

Commit 8aa595ae authored by Aleksander Morgado's avatar Aleksander Morgado
Browse files

Prefer mocking TelephonyManager in PowerButtonEndsCallPreferenceControllerTest

The PowerButtonEndsCallPreferenceControllerTest is the only one
relying on ShadowUtils to mock the isVoiceCapable() logic. Update it
to use a TelephonyManager mock to be in line with other unit tests.

Bug: 395714454
Test: mm && atest PowerButtonEndsCallPreferenceControllerTest
Flag: TEST_ONLY
Change-Id: I6e19fea142a9aaf12ac28476fc5a97c82022d4f4
parent 44ed8c0d
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