Merge "Hide emergency APN in user settings"

This commit is contained in:
Treehugger Robot
2021-11-25 09:58:12 +00:00
committed by Gerrit Code Review

View File

@@ -322,6 +322,8 @@ public class ApnSettings extends RestrictedSettingsFragment
final StringBuilder where =
new StringBuilder("NOT (type='ia' AND (apn=\"\" OR apn IS NULL)) AND "
+ "user_visible!=0");
// Remove Emergency type, users should not mess with that
where.append(" AND NOT (type='emergency')");
if (mHideImsApn) {
where.append(" AND NOT (type='ims')");