Added date on bin file
This commit is contained in:
parent
3efbcbb9f4
commit
db7ba760bd
2 changed files with 3 additions and 2 deletions
|
@ -102,6 +102,7 @@ public class FileBackupManager implements FileServiceRequestsListener {
|
|||
|
||||
boolean success = saveBinFile(path,content,request);
|
||||
if(success) {
|
||||
request.setFilePath(path);
|
||||
request.setStatus(CreateBackupRequest.StatusCode.SUCCEEDED);
|
||||
}else{
|
||||
request.setStatus(CreateBackupRequest.StatusCode.FAILED);
|
||||
|
|
|
@ -20,8 +20,8 @@ public class CreateBackupRequest extends FileServiceRequest {
|
|||
private String filePath;
|
||||
private StatusCode status;
|
||||
|
||||
public CreateBackupRequest(Context context) {
|
||||
super(context);
|
||||
public CreateBackupRequest(Context context, String password) {
|
||||
super(context,password);
|
||||
this.filePath = "";
|
||||
this.status = StatusCode.NOT_STARTED;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue