am 760b45c2: am 195bc434: Add Authentication Type field to the APN settings.

Merge commit '760b45c2a688876b94383561163244de8086f1c6' into eclair-mr2-plus-aosp

* commit '760b45c2a688876b94383561163244de8086f1c6':
  Add Authentication Type field to the APN settings.
This commit is contained in:
Jaikumar Ganesh
2009-10-28 10:42:30 -07:00
committed by Android Git Automerger
3 changed files with 115 additions and 41 deletions

View File

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

View File

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