Migrate to TelephonyProvider new URI when query the current sim APN
Since MCC, MNC and MVNO is deprecated in the TelephonyProvider and query based on SIM_APN_URI will return all matching APNs from current subscription carrier, so migrate to the new URI. Bug: 115709816 Test: Build pass. Change-Id: I260f2da2677564f37ef6a7711d45040a61215ddc
This commit is contained in:
@@ -1535,7 +1535,7 @@ public class MmsUtils {
|
|||||||
cursor = SqliteWrapper.query(
|
cursor = SqliteWrapper.query(
|
||||||
context,
|
context,
|
||||||
resolver,
|
resolver,
|
||||||
Telephony.Carriers.CONTENT_URI,
|
Telephony.Carriers.SIM_APN_URI,
|
||||||
TEST_CARRIERS_PROJECTION,
|
TEST_CARRIERS_PROJECTION,
|
||||||
null/*selection*/,
|
null/*selection*/,
|
||||||
null/*selectionArgs*/,
|
null/*selectionArgs*/,
|
||||||
|
|||||||
Reference in New Issue
Block a user