summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2009-10-26 13:01:36 -0700
committerJaikumar Ganesh <jaikumar@google.com>2009-10-26 15:18:23 -0700
commit195bc43460967e57e4c1131ba156083a93e0e4e8 (patch)
tree73fe1b618ed37af53e97ac4e6d84b169afecfd77 /res
parentb3735744fdd78a2098853d58a1fef6c643e7cb50 (diff)
downloadpackages_apps_settings-195bc43460967e57e4c1131ba156083a93e0e4e8.zip
packages_apps_settings-195bc43460967e57e4c1131ba156083a93e0e4e8.tar.gz
packages_apps_settings-195bc43460967e57e4c1131ba156083a93e0e4e8.tar.bz2
Add Authentication Type field to the APN settings.
Bug: 1817100
Diffstat (limited to 'res')
-rw-r--r--res/values/arrays.xml19
-rw-r--r--res/xml/apn_editor.xml6
2 files changed, 25 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 6d8ca32..6b8214c 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -291,4 +291,23 @@
<item>中文 (繁體)</item>
</string-array>
+ <!-- Authentication Types used in APN editor -->
+ <string-array name="apn_auth_entries">
+ <item>None</item>
+ <item>PAP</item>
+ <item>CHAP</item>
+ <item>PAP or CHAP</item>
+ </string-array>
+
+ <string-array translatable="false" name="apn_auth_values">
+ <!-- Do not translate. -->
+ <item>0</item>
+ <!-- Do not translate. -->
+ <item>1</item>
+ <!-- Do not translate. -->
+ <item>2</item>
+ <!-- Do not translate. -->
+ <item>3</item>
+ </string-array>
+
</resources>
diff --git a/res/xml/apn_editor.xml b/res/xml/apn_editor.xml
index 4ff801f..3835a2c 100644
--- a/res/xml/apn_editor.xml
+++ b/res/xml/apn_editor.xml
@@ -101,6 +101,12 @@
android:singleLine="true"
android:inputType="number"
/>
+ <ListPreference
+ android:title="@string/apn_auth_type"
+ android:key="auth_type"
+ android:entries="@array/apn_auth_entries"
+ android:entryValues="@array/apn_auth_values"
+ />
<EditTextPreference
android:title="@string/apn_type"
android:dialogTitle="@string/apn_type"