Skip to content

Commit

Permalink
Commenting image download service + auto backup
Browse files Browse the repository at this point in the history
Commenting image download service + auto backup
  • Loading branch information
Dexter Barretto committed Jul 20, 2018
1 parent 4cb206f commit 2162d3b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Binary file removed .idea/caches/build_file_checksums.ser
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public void startCloudRestore() {
try {
boolean isSuccess = backup.createFileInMemory(context, false);
if (isSuccess) {
Intent serviceIntent = new Intent(context, ImageDownloadService.class);
// Intent serviceIntent = new Intent(context, ImageDownloadService.class);
//context.startService(serviceIntent); removed on 2018.07.18 due to issues finding the right images
}
} catch (IOException e1) {
Expand Down Expand Up @@ -355,7 +355,7 @@ public void done(byte[] data, ParseException e) {
fileOutputStream.close();
boolean isSuccess = backup.createFileInMemory(context, false);
if (isSuccess) {
Intent serviceIntent = new Intent(context, ImageDownloadService.class);
// Intent serviceIntent = new Intent(context, ImageDownloadService.class);
//context.getApplicationContext().startService(serviceIntent); //removed on 2018.07.18
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public void onClick(DialogInterface dialog, int whichButton) {
parseLoginValidation();
}*/

handler = new Handler();
/*handler = new Handler();
handler.postDelayed(new Runnable() {
@Override
public void run() {
Expand All @@ -166,7 +166,7 @@ public void run() {
}
handler.postDelayed(this, 1000 * 60);
}
}, 1000 * 60);
}, 1000 * 60);*/

handler = new Handler();

Expand Down

0 comments on commit 2162d3b

Please sign in to comment.