Cherish: Add Haptic Feedback to tiles [2/2]

Change-Id: I7eefc38030900226ed28bb279826fd814ad340da
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Evisceration
2015-01-01 14:29:50 +00:00
committed by Hưng Phan
parent 3e50b3175c
commit 58d6b9b02f
2 changed files with 12 additions and 1 deletions

View File

@@ -271,4 +271,8 @@
<!-- Suppress notifications sound/vibration if screen is ON -->
<string name="notification_sound_vib_screen_on_title">Notification sound if active</string>
<string name="notification_sound_vib_screen_on_summary">Play sound and vibration for notifications when screen is on</string>
<!-- QuickSettings haptic feedback -->
<string name="quick_settings_vibrate_title">Vibrate on touch</string>
<string name="quick_settings_vibrate_summary">Vibrate when touching QS tiles</string>
</resources>

View File

@@ -17,5 +17,12 @@
xmlns:android="http://schemas.android.com/apk/res/android"
android:title="@string/quicksettings_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
<com.cherish.settings.preferences.SecureSettingSwitchPreference
android:key="quick_settings_vibrate"
android:icon="@drawable/ic_vibrate"
android:title="@string/quick_settings_vibrate_title"
android:summary="@string/quick_settings_vibrate_summary"
android:defaultValue="false"/>
</PreferenceScreen>