Use flag secure to hide from recents

This commit is contained in:
M66B
2019-10-05 16:09:52 +02:00
parent 41f5425ffa
commit 6f82756fb3
6 changed files with 32 additions and 22 deletions

View File

@@ -742,13 +742,6 @@ public class Helper {
}
}
static boolean noHistory(Context context) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean biometrics = prefs.getBoolean("biometrics", false);
boolean no_history = prefs.getBoolean("no_history", false);
return (biometrics || no_history);
}
static boolean shouldAuthenticate(Context context) {
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
boolean biometrics = prefs.getBoolean("biometrics", false);