2014-11-04 14:19:48 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
2015-05-17 12:13:34 +00:00
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
|
|
android:key="pref_enable_passphrase_temporary"
|
2014-11-04 14:19:48 +00:00
|
|
|
android:defaultValue="true"
|
|
|
|
android:title="@string/preferences__enable_passphrase"
|
|
|
|
android:summary="@string/preferences__enable_local_encryption_of_messages_and_keys"/>
|
|
|
|
|
|
|
|
<Preference android:key="pref_change_passphrase"
|
|
|
|
android:title="@string/preferences__change_passphrase"
|
|
|
|
android:summary="@string/preferences__change_my_passphrase"
|
|
|
|
android:dependency="pref_enable_passphrase_temporary"/>
|
|
|
|
|
|
|
|
<CheckBoxPreference android:defaultValue="false"
|
|
|
|
android:key="pref_timeout_passphrase"
|
|
|
|
android:title="@string/preferences__timeout_passphrase"
|
|
|
|
android:summary="@string/preferences__forget_passphrase_from_memory_after_some_interval"
|
|
|
|
android:dependency="pref_enable_passphrase_temporary"/>
|
|
|
|
|
2014-12-13 00:07:02 +00:00
|
|
|
<Preference android:title="@string/preferences__pref_timeout_interval_title"
|
|
|
|
android:key="pref_timeout_interval"
|
|
|
|
android:dependency="pref_timeout_passphrase"/>
|
2014-11-04 14:19:48 +00:00
|
|
|
|
2015-05-17 12:13:34 +00:00
|
|
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
|
|
|
android:defaultValue="true"
|
2014-11-04 14:19:48 +00:00
|
|
|
android:key="pref_screen_security"
|
|
|
|
android:title="@string/preferences__screen_security"
|
|
|
|
android:summary="@string/preferences__disable_screen_security_to_allow_screen_shots" />
|
|
|
|
</PreferenceScreen>
|