Added date on bin file

This commit is contained in:
henry 2018-03-29 23:21:37 -04:00
parent 3efbcbb9f4
commit db7ba760bd
2 changed files with 3 additions and 2 deletions

View file

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

View file

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