summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2014-11-23 15:15:05 +0100
committerSteve Kondik <shade@chemlab.org>2015-12-04 18:55:26 -0800
commit186fdb7e0eb7db5dff978dc740225bdbd44dce36 (patch)
tree2f818d680d47ec081ad1953d530f99b074a649b3 /res
parentb8d82235027f2c1c1040eab99e803b4e02b2c407 (diff)
downloadandroid_packages_apps_Dialer-186fdb7e0eb7db5dff978dc740225bdbd44dce36.tar.gz
android_packages_apps_Dialer-186fdb7e0eb7db5dff978dc740225bdbd44dce36.tar.bz2
android_packages_apps_Dialer-186fdb7e0eb7db5dff978dc740225bdbd44dce36.zip
Add back in-call vibration features (2/2)
Add settings implementation. Change-Id: I48d56f28cf1caf8ab783f693887b282d5a2d4a2b
Diffstat (limited to 'res')
-rw-r--r--res/values/cm_strings.xml8
-rw-r--r--res/xml/sound_settings.xml23
2 files changed, 31 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 3f496e605..d3d7b2f12 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -60,4 +60,12 @@
<string name="dialog_speed_dial_airplane_mode_message">To use speed dial, first turn off Airplane mode.</string>
<string name="yes">Yes</string>
<string name="no">No</string>
+
+ <string name="incall_vibration_category_key" translatable="false">dialer_general_incall_vibration_category_key</string>
+ <string name="incall_vibration_category_title">In-call vibration</string>
+ <string name="incall_vibrate_outgoing_title">Vibrate on answer</string>
+ <string name="incall_vibrate_call_waiting_title">Vibrate on call waiting</string>
+ <string name="incall_vibrate_hangup_title">Vibrate on hang up</string>
+ <string name="incall_vibrate_45_title">Vibrate every minute</string>
+ <string name="incall_vibrate_45_summary">Vibrates at the 45 second mark of every minute during outgoing calls</string>
</resources>
diff --git a/res/xml/sound_settings.xml b/res/xml/sound_settings.xml
index 80fad626a..fd35aaaae 100644
--- a/res/xml/sound_settings.xml
+++ b/res/xml/sound_settings.xml
@@ -43,4 +43,27 @@
android:entries="@array/dtmf_tone_length_entries"
android:entryValues="@array/dtmf_tone_length_entry_values" />
+ <PreferenceCategory
+ android:key="@string/incall_vibration_category_key"
+ android:title="@string/incall_vibration_category_title">
+
+ <CheckBoxPreference
+ android:key="incall_vibrate_outgoing"
+ android:title="@string/incall_vibrate_outgoing_title" />
+
+ <CheckBoxPreference
+ android:key="incall_vibrate_call_waiting"
+ android:title="@string/incall_vibrate_call_waiting_title" />
+
+ <CheckBoxPreference
+ android:key="incall_vibrate_hangup"
+ android:title="@string/incall_vibrate_hangup_title" />
+
+ <CheckBoxPreference
+ android:key="incall_vibrate_45"
+ android:title="@string/incall_vibrate_45_title"
+ android:summary="@string/incall_vibrate_45_summary" />
+
+ </PreferenceCategory>
+
</PreferenceScreen>