|
@ -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; |
|
|
} |
|
|
} |
|
|