Fix URL_TELEPHONY_USING_SUBID return incorrect subid's APN
URL_TELEPHONY_USING_SUBID only return the result that queried by
mcc/mnc. If there are two different carrier have same mcc/mnc,
TelephonyProvider will return all of APN to user.
Fix:
1. Return the result that queried by mcc/mnc and mvmo.
2. Add clearCallingIdentity() to prevent third party app can't query by
this URL.
Bug: 161394004
Test: By manual and atest
1. Insert an APN that MCC/MNC same as current sim
2. Query by URL_TELEPHONY_USING_SUBID and check the result
Change-Id: I43bed10482a9eb18d6d30782e494c08e2ea7edf1
1 file changed