Browse Source

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

renovate/org.robolectric-robolectric-4.x
Ammar Githam 4 years ago
parent
commit
9887547363
  1. 4
      app/src/main/java/awais/instagrabber/dialogs/RestoreBackupDialogFragment.java

4
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 { 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;
} }

Loading…
Cancel
Save