1
0
mirror of https://github.com/KokaKiwi/BarInsta synced 2024-11-22 22:57:29 +00:00

Add default constructor for RestoreBackupDialogFragment. Should fix https://github.com/austinhuang0131/barinsta/issues/316

This commit is contained in:
Ammar Githam 2020-11-30 22:34:34 +09:00
parent c72c4469f5
commit 9887547363

View File

@ -33,12 +33,14 @@ import static awais.instagrabber.utils.DownloadUtils.PERMS;
public class RestoreBackupDialogFragment extends DialogFragment { public class RestoreBackupDialogFragment extends DialogFragment {
private static final int STORAGE_PERM_REQUEST_CODE = 8020; private static final int STORAGE_PERM_REQUEST_CODE = 8020;
private final OnResultListener onResultListener; private OnResultListener onResultListener;
private DialogRestoreBackupBinding binding; private DialogRestoreBackupBinding binding;
private File file; private File file;
private boolean isEncrypted; private boolean isEncrypted;
public RestoreBackupDialogFragment() {}
public RestoreBackupDialogFragment(final OnResultListener onResultListener) { public RestoreBackupDialogFragment(final OnResultListener onResultListener) {
this.onResultListener = onResultListener; this.onResultListener = onResultListener;
} }