diff options
author | Adnan Begovic <adnan@cyngn.com> | 2016-04-18 10:37:48 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2016-04-18 10:37:48 -0700 |
commit | 97897a54a25be99dc70dfa7a11e7f0b1869af2e6 (patch) | |
tree | bc3b976ae400c3f3162f3f88dc5baca694d48855 /res | |
parent | aa7672b76531bb1adf8ccf66efe2187683019a7d (diff) | |
download | packages_apps_Messaging-97897a54a25be99dc70dfa7a11e7f0b1869af2e6.zip packages_apps_Messaging-97897a54a25be99dc70dfa7a11e7f0b1869af2e6.tar.gz packages_apps_Messaging-97897a54a25be99dc70dfa7a11e7f0b1869af2e6.tar.bz2 |
Messaging: Reference the nontranslatable key instead of hardcoding value.
Change-Id: I571db9e2b3fc54f8c293f230a00ab1b27518b9db
TICKET: CYNGNOS-2495
Diffstat (limited to 'res')
-rw-r--r-- | res/xml-v21/preferences_per_subscription.xml | 12 | ||||
-rw-r--r-- | res/xml/preferences_per_subscription.xml | 13 |
2 files changed, 12 insertions, 13 deletions
diff --git a/res/xml-v21/preferences_per_subscription.xml b/res/xml-v21/preferences_per_subscription.xml index d5e6c64..5e0513f 100644 --- a/res/xml-v21/preferences_per_subscription.xml +++ b/res/xml-v21/preferences_per_subscription.xml @@ -30,13 +30,13 @@ android:title="@string/mms_phone_number_pref_title" /> <SwitchPreference - android:key="delivery_reports_mms_pref_key" + android:key="@string/delivery_reports_mms_pref_key" android:title="@string/delivery_reports_mms_pref_title" android:summary="@string/pref_summary_mms_delivery_reports" android:defaultValue="@bool/def_mms_delivery_reports" /> <SwitchPreference - android:key="read_reports_mms_pref_key" + android:key="@string/read_reports_mms_pref_key" android:title="@string/read_reports_mms_pref_title" android:summary="@string/pref_summary_mms_read_reports" android:defaultValue="false" /> @@ -54,7 +54,7 @@ android:summary="@string/auto_retrieve_mms_when_roaming_pref_summary" android:defaultValue="@bool/auto_retrieve_mms_when_roaming_pref_default" /> - <ListPreference android:key="expiry_mms_pref_key" + <ListPreference android:key="@string/expiry_mms_pref_key" android:title="@string/validity_period_pref_title" android:dialogTitle="@string/validity_period_pref_title" android:summary="%s" @@ -62,7 +62,7 @@ android:entryValues="@array/save_time_values" android:defaultValue="0" /> - <ListPreference android:key="expiry_slot1_mms_pref_key" + <ListPreference android:key="@string/expiry_slot1_mms_pref_key" android:title="@string/validity_period_slot1_pref_title" android:dialogTitle="@string/validity_period_pref_title" android:summary="%s" @@ -70,7 +70,7 @@ android:entryValues="@array/save_time_values" android:defaultValue="0" /> - <ListPreference android:key="expiry_slot2_mms_pref_key" + <ListPreference android:key="@string/expiry_slot2_mms_pref_key" android:title="@string/validity_period_pref_title" android:dialogTitle="@string/validity_period_pref_title" android:summary="%s" @@ -78,7 +78,7 @@ android:entryValues="@array/save_time_values" android:defaultValue="0" /> - <ListPreference android:key="priority_mms_pref_key" + <ListPreference android:key="@string/priority_mms_pref_key" android:title="@string/priority_pref_title" android:dialogTitle="@string/priority_pref_title" android:summary="%s" diff --git a/res/xml/preferences_per_subscription.xml b/res/xml/preferences_per_subscription.xml index 03eb170..63c6ee7 100644 --- a/res/xml/preferences_per_subscription.xml +++ b/res/xml/preferences_per_subscription.xml @@ -30,13 +30,13 @@ android:title="@string/mms_phone_number_pref_title" /> <CheckBoxPreference - android:key="delivery_reports_mms_pref_key" + android:key="@string/delivery_reports_mms_pref_key" android:title="@string/delivery_reports_mms_pref_title" android:summary="@string/pref_summary_mms_delivery_reports" android:defaultValue="@bool/def_mms_delivery_reports" /> <CheckBoxPreference - android:key="read_reports_mms_pref_key" + android:key="@string/read_reports_mms_pref_key" android:title="@string/read_reports_mms_pref_title" android:summary="@string/pref_summary_mms_read_reports" android:defaultValue="false" /> @@ -54,8 +54,7 @@ android:summary="@string/auto_retrieve_mms_when_roaming_pref_summary" android:defaultValue="@bool/auto_retrieve_mms_when_roaming_pref_default" /> - - <ListPreference android:key="expiry_mms_pref_key" + <ListPreference android:key="@string/expiry_mms_pref_key" android:title="@string/validity_period_pref_title" android:dialogTitle="@string/validity_period_pref_title" android:summary="%s" @@ -63,7 +62,7 @@ android:entryValues="@array/save_time_values" android:defaultValue="0" /> - <ListPreference android:key="expiry_slot1_mms_pref_key" + <ListPreference android:key="@string/expiry_slot1_mms_pref_key" android:title="@string/validity_period_slot1_pref_title" android:dialogTitle="@string/validity_period_pref_title" android:summary="%s" @@ -71,7 +70,7 @@ android:entryValues="@array/save_time_values" android:defaultValue="0" /> - <ListPreference android:key="expiry_slot2_mms_pref_key" + <ListPreference android:key="@string/expiry_slot2_mms_pref_key" android:title="@string/validity_period_slot2_pref_title" android:dialogTitle="@string/validity_period_pref_title" android:summary="%s" @@ -79,7 +78,7 @@ android:entryValues="@array/save_time_values" android:defaultValue="0" /> - <ListPreference android:key="priority_mms_pref_key" + <ListPreference android:key="@string/priority_mms_pref_key" android:title="@string/priority_pref_title" android:dialogTitle="@string/priority_pref_title" android:summary="%s" |