Merge "Hide APNs with type="ia" and apn=""" into lmp-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a8b78f96ae
@@ -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,
|
||||||
|
Reference in New Issue
Block a user