From c660acc3e7d03dd989a250217abd940440144e9f Mon Sep 17 00:00:00 2001 From: nielsandriesse Date: Wed, 16 Sep 2020 16:48:56 +1000 Subject: [PATCH] Don't show previews in the app switcher by default --- res/xml/preferences_app_protection.xml | 2 +- src/org/thoughtcrime/securesms/util/TextSecurePreferences.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/xml/preferences_app_protection.xml b/res/xml/preferences_app_protection.xml index 488f1c3616..ce35f30300 100644 --- a/res/xml/preferences_app_protection.xml +++ b/res/xml/preferences_app_protection.xml @@ -40,7 +40,7 @@ android:dependency="pref_timeout_passphrase" /> diff --git a/src/org/thoughtcrime/securesms/util/TextSecurePreferences.java b/src/org/thoughtcrime/securesms/util/TextSecurePreferences.java index f4c12b6de9..6b897607a1 100644 --- a/src/org/thoughtcrime/securesms/util/TextSecurePreferences.java +++ b/src/org/thoughtcrime/securesms/util/TextSecurePreferences.java @@ -826,7 +826,7 @@ public class TextSecurePreferences { } 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) {