summaryrefslogtreecommitdiffstats
path: root/AriesParts/res
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2011-10-31 12:51:40 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2011-10-31 12:51:40 +0700
commit9cfb69a0b4f04932113b910ff1365f2c0f8720e5 (patch)
treedfcc36e66b91f7162eb80291ee6972b03baa954f /AriesParts/res
parenta80465577d6c6b32946a47a008a2b2640f26391b (diff)
downloaddevice_samsung_aries-common-9cfb69a0b4f04932113b910ff1365f2c0f8720e5.zip
device_samsung_aries-common-9cfb69a0b4f04932113b910ff1365f2c0f8720e5.tar.gz
device_samsung_aries-common-9cfb69a0b4f04932113b910ff1365f2c0f8720e5.tar.bz2
AriesParts: Add HSPA setting
Requires I76632c874b872f0d3f9a1013b7dd548af4b91341 Change-Id: I461e90acd6502b633c95d08c482487fdffec259a
Diffstat (limited to 'AriesParts/res')
-rw-r--r--AriesParts/res/values/arrays.xml12
-rw-r--r--AriesParts/res/values/strings.xml4
-rw-r--r--AriesParts/res/xml/main.xml11
3 files changed, 27 insertions, 0 deletions
diff --git a/AriesParts/res/values/arrays.xml b/AriesParts/res/values/arrays.xml
index 9053a71..2732676 100644
--- a/AriesParts/res/values/arrays.xml
+++ b/AriesParts/res/values/arrays.xml
@@ -18,4 +18,16 @@
<item>30000</item>
<item>-1</item>
</string-array>
+
+ <string-array name="hspa_entries">
+ <item>UMTS Only</item>
+ <item>HSDPA Only</item>
+ <item>HSDPA + HSUPA</item>
+ </string-array>
+
+ <string-array name="hspa_entries_values" translatable="false">
+ <item>21</item>
+ <item>22</item>
+ <item>23</item>
+ </string-array>
</resources>
diff --git a/AriesParts/res/values/strings.xml b/AriesParts/res/values/strings.xml
index d21d1a9..c69049d 100644
--- a/AriesParts/res/values/strings.xml
+++ b/AriesParts/res/values/strings.xml
@@ -12,4 +12,8 @@
<string name="category_touchkey_title">Touch Keys</string>
<string name="backlight_timeout_title_head">Backlight Timeout</string>
<string name="backlight_timeout_summary_head">Adjust the delay before the touch key backlight automatically turns off</string>
+
+ <string name="category_radio_title">Radio</string>
+ <string name="hspa_title_head">HSPA</string>
+ <string name="hspa_summary_head">Enable HSDPA/HSUPA</string>
</resources>
diff --git a/AriesParts/res/xml/main.xml b/AriesParts/res/xml/main.xml
index 68938f4..e74b599 100644
--- a/AriesParts/res/xml/main.xml
+++ b/AriesParts/res/xml/main.xml
@@ -22,4 +22,15 @@
android:defaultValue="1600" />
</PreferenceCategory>
+ <PreferenceCategory
+ android:title="@string/category_radio_title">
+ <!-- UMTS/HSDPA/HSUPA settings -->
+ <ListPreference
+ android:key="hspa"
+ android:title="@string/hspa_title_head"
+ android:summary="@string/hspa_summary_head"
+ android:entries="@array/hspa_entries"
+ android:entryValues="@array/hspa_entries_values"
+ android:defaultValue="23" />
+ </PreferenceCategory>
</PreferenceScreen>