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

Skip to content
Commit 9bb8195a authored by Chalard Jean's avatar Chalard Jean Committed by Jean Chalard
Browse files

Use ConnectivityManager.MockHelpers

Telephony tests mock ConnectivityManager private methods
but don't have access to their private types. In the
context that Connectivity would like to change the return
type of CM#registerNetworkAgent to a private type, offer
a simple solution to still mock it without having to
remove all checks from Telephony.

See also aosp/3543704

Test: FrameworksTelephonyTests
Change-Id: I61e5fa4b8ba6d8825d2c41bae907a0492c1f8b14
Flag: TEST_ONLY
parent 44383b8c
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