MVP of PIN lock feature

This only shows the settings if a screen lock is available.
If the setting is activated, it shows a drawer item for locking.
Once locked, the screen lock secret needs to be entered to enter the
app again.

First part of #1247
This commit is contained in:
Torsten Grote
2018-07-27 12:06:21 -03:00
parent af1ed292ae
commit fc86319e13
20 changed files with 292 additions and 8 deletions

View File

@@ -56,6 +56,13 @@
android:layout="@layout/preferences_category"
android:title="@string/security_settings_title">
<CheckBoxPreference
android:key="pref_key_lock"
android:persistent="false"
android:summary="@string/pref_lock_summary"
android:title="@string/pref_lock_title"
android:visibility="gone"/>
<Preference
android:key="pref_key_change_password"
android:title="@string/change_password">