From 98875473632b91b505e5062c21058a317f563b38 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Mon, 30 Nov 2020 22:34:34 +0900 Subject: [PATCH] Add default constructor for RestoreBackupDialogFragment. Should fix https://github.com/austinhuang0131/barinsta/issues/316 --- .../instagrabber/dialogs/RestoreBackupDialogFragment.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/awais/instagrabber/dialogs/RestoreBackupDialogFragment.java b/app/src/main/java/awais/instagrabber/dialogs/RestoreBackupDialogFragment.java index b5005b39..9b9de1e2 100644 --- a/app/src/main/java/awais/instagrabber/dialogs/RestoreBackupDialogFragment.java +++ b/app/src/main/java/awais/instagrabber/dialogs/RestoreBackupDialogFragment.java @@ -33,12 +33,14 @@ import static awais.instagrabber.utils.DownloadUtils.PERMS; public class RestoreBackupDialogFragment extends DialogFragment { private static final int STORAGE_PERM_REQUEST_CODE = 8020; - private final OnResultListener onResultListener; + private OnResultListener onResultListener; private DialogRestoreBackupBinding binding; private File file; private boolean isEncrypted; + public RestoreBackupDialogFragment() {} + public RestoreBackupDialogFragment(final OnResultListener onResultListener) { this.onResultListener = onResultListener; }