Support configuring the protocol in APN settings.

Change-Id: I435061a631bdb2f58935af607abf8cd7c5d252ba
This commit is contained in:
Lorenzo Colitti
2010-12-29 15:52:41 -08:00
parent 5ac151ccec
commit a7e587fc8d
4 changed files with 68 additions and 1 deletions

View File

@@ -464,6 +464,22 @@
<item>3</item>
</string-array>
<!-- Authentication Types used in APN editor -->
<string-array name="apn_protocol_entries">
<item>IPv4</item>
<item>IPv6</item>
<item>IPv4/IPv6</item>
</string-array>
<string-array translatable="false" name="apn_protocol_values">
<!-- Do not translate. -->
<item>IP</item>
<!-- Do not translate. -->
<item>IPV6</item>
<!-- Do not translate. -->
<item>IPV4V6</item>
</string-array>
<!-- Apps on SD instalaltion location options in ApplicationSettings -->
<string-array name="app_install_location_entries">
<item>Internal device storage</item>

View File

@@ -1677,6 +1677,8 @@
<string name="apn_auth_type_pap_chap">PAP or CHAP</string>
<!-- Edit access point labels: The type of APN -->
<string name="apn_type">APN type</string>
<!-- Edit access point labels: The protocol of the APN, e.g., "IPv4", "IPv6", or "IPv4/IPv6". -->
<string name="apn_protocol">APN protocol</string>
<!-- Edit access point screen menu option to delete this APN -->
<string name="menu_delete">Delete APN</string>
<!-- APNs screen menu option to create a brand spanking new APN -->

View File

@@ -114,4 +114,11 @@
android:singleLine="true"
android:inputType="textNoSuggestions"
/>
<ListPreference
android:title="@string/apn_protocol"
android:dialogTitle="@string/apn_protocol"
android:key="apn_protocol"
android:entries="@array/apn_protocol_entries"
android:entryValues="@array/apn_protocol_values"
/>
</PreferenceScreen>