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

automerge: d0f3755

* commit 'd0f3755197eef1a1c9a3b59765b1fc55c9115202':
  Hide APNs with type="ia" and apn=""
This commit is contained in:
Sanket Padawe
2015-01-24 00:20:34 +00:00
committed by android-build-merger

View File

@@ -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,