Hide APNs with type="ia" and apn=""
APNs with type="ia" and no APN address (apn="") are used to prevent an initial attach APN from being sent to the modem. This in turn prevents the LTE ESM information procedure from being used during the LTE attach. These APNs are meaningless and confusing to end users - so this change hides them from the APN list. Bug: 19101183 Change-Id: I9aacf787f8c175a301ad546f972f8972aad2a6b3
This commit is contained in:
@@ -209,7 +209,7 @@ public class ApnSettings extends SettingsPreferenceFragment implements
|
||||
Log.d(TAG, "mccmnc = " + mccmnc);
|
||||
final String where = "numeric=\""
|
||||
+ mccmnc
|
||||
+ "\"";
|
||||
+ "\" AND NOT (type='ia' AND (apn=\"\" OR apn IS NULL))";
|
||||
|
||||
Cursor cursor = getContentResolver().query(Telephony.Carriers.CONTENT_URI, new String[] {
|
||||
"_id", "name", "apn", "type"}, where, null,
|
||||
|
Reference in New Issue
Block a user