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

Skip to content
Commit fe61222d authored by Chiachang Wang's avatar Chiachang Wang
Browse files

Move getMobileProvisioningUrl parsing to telephony

ConnectivityService is going to become mainline and can not
access hidden APIs. Telephony and Settings were both accessing
the hidden API ConnectivityManager#getMobileProvisioningUrl.
Moving #getMobileProvisioningUrl method into telephony means
that there is one less access to a hidden API within the overall
framework since the Connectivity stack never needed this value.
Thus, move getMobileProvisioningUrl parsing to telephony surface
from ConnectivitySerivce and replace the corresponding access in
DcTracker.

Bug: 175177794
Test: atest FrameworksTelepohonyTests
Test: verify that the url could be read from both resource and file
Change-Id: Icb451ecd2cff9205bf3ffb3636e5ef93cba53a43
parent be7382d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment