From d4977949346862bb42efa14be5171bf222d057d4 Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Mon, 17 Jul 2017 14:46:39 -0700 Subject: [PATCH] Add new column user_editable to Carriers table in telephony db. Test: Verified manually that an APN with user_editable=false cannot be modified via UI Bug: 62852457 Change-Id: I67f1c5c537978d54aeea0a726d4056593381aa2d --- telephony/java/android/telephony/Telephony.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/telephony/java/android/telephony/Telephony.java b/telephony/java/android/telephony/Telephony.java index 3282f5f31960e..e64e815248e47 100644 --- a/telephony/java/android/telephony/Telephony.java +++ b/telephony/java/android/telephony/Telephony.java @@ -2764,6 +2764,13 @@ public final class Telephony { */ public static final String USER_VISIBLE = "user_visible"; + /** + * Is the user allowed to edit this APN? + *

Type: INTEGER (boolean)

+ * @hide + */ + public static final String USER_EDITABLE = "user_editable"; + /** * Following are possible values for the EDITED field * @hide