Cherish: incall vibration options [3/3]

*allow setting vibration when call is connected
*allow setting vibration when call is disconnected
*allow setting vibration for call waiting
*this works with google and aosp dialer :)

Change-Id: Id1a431124174571f8d0091825af2418971cfe35d
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
beanstown106
2017-10-14 23:17:23 +05:30
committed by Hưng Phan
parent f76ee81981
commit 693fa1a354
3 changed files with 33 additions and 1 deletions

View File

@@ -65,4 +65,25 @@
</PreferenceCategory>
<PreferenceCategory
android:key="incall_vib_options"
android:title="@string/incall_vibration_category" >
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="vibrate_on_connect"
android:title="@string/incall_vibrate_connect_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="vibrate_on_callwaiting"
android:title="@string/incall_vibrate_call_wait_title"
android:defaultValue="false" />
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="vibrate_on_disconnect"
android:title="@string/incall_vibrate_disconnect_title"
android:defaultValue="false" />
</PreferenceCategory>
</PreferenceScreen>