Cherish:Allow to disable HOME key when ringing [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
@@ -43,6 +43,7 @@
|
|||||||
<string name="device_part_title">Device features</string>
|
<string name="device_part_title">Device features</string>
|
||||||
<string name="qs_category">QS category</string>
|
<string name="qs_category">QS category</string>
|
||||||
<string name="navbar_title">Navigation bar</string>
|
<string name="navbar_title">Navigation bar</string>
|
||||||
|
<string name="volume_keys_title">Volume keys</string>
|
||||||
|
|
||||||
<!-- General strings -->
|
<!-- General strings -->
|
||||||
<string name="ok">OK</string>
|
<string name="ok">OK</string>
|
||||||
@@ -156,4 +157,8 @@
|
|||||||
|
|
||||||
<!-- Navbar tuner -->
|
<!-- Navbar tuner -->
|
||||||
<string name="navbar_tuner_title">Navbar buttons</string>
|
<string name="navbar_tuner_title">Navbar buttons</string>
|
||||||
|
|
||||||
|
<!-- Incall Home button behavior-->
|
||||||
|
<string name="allow_incall_home_title">Home button when ringing</string>
|
||||||
|
<string name="allow_incall_home_summary">Allow to use Home button when device is ringing</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -31,9 +31,19 @@
|
|||||||
</Preference>
|
</Preference>
|
||||||
</PreferenceCategory>
|
</PreferenceCategory>
|
||||||
|
|
||||||
|
<PreferenceCategory
|
||||||
|
android:key="volume_keys"
|
||||||
|
android:title="@string/volume_keys_title">
|
||||||
|
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:key="volume_key"
|
android:key="volume_key"
|
||||||
android:fragment="com.cherish.settings.fragments.VolumeRockerSettings"
|
android:fragment="com.cherish.settings.fragments.VolumeRockerSettings"
|
||||||
android:title="@string/volume_title" />
|
android:title="@string/volume_title" />
|
||||||
|
|
||||||
|
<com.cherish.settings.preferences.SystemSettingSwitchPreference
|
||||||
|
android:key="allow_incall_home"
|
||||||
|
android:title="@string/allow_incall_home_title"
|
||||||
|
android:summary="@string/allow_incall_home_summary"
|
||||||
|
android:defaultValue="true" />
|
||||||
|
</PreferenceCategory>
|
||||||
</PreferenceScreen>
|
</PreferenceScreen>
|
||||||
|
|||||||
Reference in New Issue
Block a user