• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

packages/apps/Settings


Commit MetaInfo

Revision46e6ea018830dacd1619cdc20745267657b59633 (tree)
Time2016-10-05 18:06:09
AuthorRoman Birg <roman@cyng...>
CommiterSteve Kondik

Log Message

Settings: hook up volume tone preference to CMSettings

Ref: CYNGNOS-1891

Change-Id: Ic3d07f9eeb099b24526c7c502b189cb3bbbbb420
Signed-off-by: Roman Birg <roman@cyngn.com>

Change Summary

Incremental Difference

--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -229,6 +229,9 @@
229229
230230 <string name="ok">OK</string>
231231
232+ <!-- Volume settings - Volume adjustment sound -->
233+ <string name="volume_adjust_sounds_title">Volume adjustment sounds</string>
234+
232235 <!-- Sizes for pattern lockscreen -->
233236 <string name="lock_pattern_size_3">3x3</string>
234237 <string name="lock_pattern_size_4">4x4</string>
--- a/res/xml/other_sound_settings.xml
+++ b/res/xml/other_sound_settings.xml
@@ -44,6 +44,12 @@
4444 android:key="touch_sounds"
4545 android:title="@string/touch_sounds_title" />
4646
47+ <!-- Volume adjust sound -->
48+ <cyanogenmod.preference.CMSystemSettingSwitchPreference
49+ android:key="volume_adjust_sounds_enabled"
50+ android:title="@string/volume_adjust_sounds_title"
51+ android:defaultValue="true" />
52+
4753 <!-- Vibrate on touch -->
4854 <SwitchPreference
4955 android:key="vibrate_on_touch"