mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Use flag secure to hide from recents
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user