mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 16:03:39 +00:00
Don't show previews in the app switcher by default
This commit is contained in:
parent
040fe153c4
commit
c660acc3e7
@ -40,7 +40,7 @@
|
|||||||
android:dependency="pref_timeout_passphrase" />
|
android:dependency="pref_timeout_passphrase" />
|
||||||
|
|
||||||
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
<org.thoughtcrime.securesms.components.SwitchPreferenceCompat
|
||||||
android:defaultValue="false"
|
android:defaultValue="true"
|
||||||
android:key="pref_screen_security"
|
android:key="pref_screen_security"
|
||||||
android:title="@string/preferences__screen_security"
|
android:title="@string/preferences__screen_security"
|
||||||
android:summary="@string/preferences__disable_screen_security_to_allow_screen_shots" />
|
android:summary="@string/preferences__disable_screen_security_to_allow_screen_shots" />
|
||||||
|
@ -826,7 +826,7 @@ public class TextSecurePreferences {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isScreenSecurityEnabled(Context context) {
|
public static boolean isScreenSecurityEnabled(Context context) {
|
||||||
return getBooleanPreference(context, SCREEN_SECURITY_PREF, false);
|
return getBooleanPreference(context, SCREEN_SECURITY_PREF, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isLegacyUseLocalApnsEnabled(Context context) {
|
public static boolean isLegacyUseLocalApnsEnabled(Context context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user