Cancel biometric prompt on pause

This commit is contained in:
M66B
2020-05-30 15:59:51 +02:00
parent 51ce845828
commit 5bc040a3f3
3 changed files with 14 additions and 5 deletions

View File

@@ -159,7 +159,7 @@ public class FragmentOptionsPrivacy extends FragmentBase implements SharedPrefer
public void onClick(View v) {
final boolean biometrics = prefs.getBoolean("biometrics", false);
Helper.authenticate(getActivity(), biometrics, new Runnable() {
Helper.authenticate(getActivity(), getViewLifecycleOwner(), biometrics, new Runnable() {
@Override
public void run() {
try {