am 2b6ab796: Merge "Hide APNs with type="ia" and apn=""" into lmp-mr1-dev automerge: a8b78f9

* commit '2b6ab796f1ba4b6c29eb23eb3e71dd8c107497a9':
  Hide APNs with type="ia" and apn=""
This commit is contained in:
Sanket Padawe
2015-01-24 00:06:37 +00:00
committed by Android Git Automerger

View File

@@ -209,7 +209,7 @@ public class ApnSettings extends SettingsPreferenceFragment implements
Log.d(TAG, "mccmnc = " + mccmnc); Log.d(TAG, "mccmnc = " + mccmnc);
final String where = "numeric=\"" final String where = "numeric=\""
+ mccmnc + mccmnc
+ "\""; + "\" AND NOT (type='ia' AND (apn=\"\" OR apn IS NULL))";
Cursor cursor = getContentResolver().query(Telephony.Carriers.CONTENT_URI, new String[] { Cursor cursor = getContentResolver().query(Telephony.Carriers.CONTENT_URI, new String[] {
"_id", "name", "apn", "type"}, where, null, "_id", "name", "apn", "type"}, where, null,