AOSP/Messaging - Changed midSdkVersion to 14 and reverted to using Telephony.Carriers.CONTENT_URI instead of Telephony.Carriers.SIM_APN_URI.
Fixes error: "NoSuchFieldError exception: Telephony.Carriers.SIM_APN_URI requires API level 29" Bug: 159055957 Test: manual - Tested the messaging UI. Without this change the app is crashing when we click on it. $ make -j 40 Change-Id: Ic34ccac673531a61386c1eaa3bbfff950d19517b
This commit is contained in:
@@ -1499,7 +1499,7 @@ public class MmsUtils {
|
||||
cursor = SqliteWrapper.query(
|
||||
context,
|
||||
resolver,
|
||||
Telephony.Carriers.SIM_APN_URI,
|
||||
Telephony.Carriers.CONTENT_URI,
|
||||
TEST_CARRIERS_PROJECTION,
|
||||
null/*selection*/,
|
||||
null/*selectionArgs*/,
|
||||
|
||||
Reference in New Issue
Block a user