Cherish: Hide power menu on secure lockscreen [2/2]

Change-Id: Iae2fa48103c08d95c4dc855b8544056a920dc75f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Pranav Vashi
2018-09-12 13:04:10 +07:00
committed by Hung Phan
parent 84efe6f23e
commit dc547a0bd1
4 changed files with 26 additions and 1 deletions

View File

@@ -55,13 +55,21 @@
<PreferenceCategory
android:title="@string/lockscreen_secure_power_title">
android:title="@string/lockscreen_secure_power_title">
<com.cherish.settings.preferences.SystemSettingSwitchPreference
android:key="lockscreen_disable_power_menu"
android:title="@string/lockscreen_power_menu_disabled_title"
android:summary="@string/lockscreen_power_menu_disabled_summary"
android:defaultValue="false" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="lockscreen_enable_power_menu"
android:icon="@drawable/ic_power"
android:title="@string/lockscreen_enable_power_menu_title"
android:summary="@string/lockscreen_enable_power_menu_summary"
android:defaultValue="true" />
<com.cherish.settings.preferences.GlobalSettingSwitchPreference
android:key="lockscreen_powermenu_secure"
android:icon="@drawable/ic_lock_outline"