Skip to content

Commit

Permalink
Merge pull request #496 from Intelehealth/472-image-restore
Browse files Browse the repository at this point in the history
472 image restore
  • Loading branch information
Amal Afroz Alam authored Jul 20, 2018
2 parents bbe420f + 2162d3b commit 6613560
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
Binary file removed .idea/caches/build_file_checksums.ser
Binary file not shown.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ dependencies {

implementation "joda-time:joda-time:$rootProject.jodaTimeVersion"

implementation "com.google.firebase:firebase-messaging:$rootProject.firebaseVersion"
implementation "com.google.firebase:firebase-messaging:17.1.0"
implementation "com.firebase:firebase-jobdispatcher:$rootProject.jobDispatcherVersion"

implementation "com.github.hotchemi:permissionsdispatcher:$rootProject.permissionDispatcherVersion"
Expand Down Expand Up @@ -84,8 +84,8 @@ dependencies {
androidTestImplementation('com.android.support.test.espresso:espresso-core:3.0.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
androidTestImplementation 'com.android.support.test.espresso:espresso-contrib:3.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-contrib:3.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-intents:3.0.2'
androidTestImplementation('com.android.support.test:runner:1.0.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
Expand Down
Binary file modified app/release/app-release.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ public void startCloudRestore() {
try {
boolean isSuccess = backup.createFileInMemory(context, false);
if (isSuccess) {
Intent serviceIntent = new Intent(context, ImageDownloadService.class);
context.startService(serviceIntent);
// 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) {
e1.printStackTrace();
Expand Down Expand Up @@ -355,8 +355,8 @@ public void done(byte[] data, ParseException e) {
fileOutputStream.close();
boolean isSuccess = backup.createFileInMemory(context, false);
if (isSuccess) {
Intent serviceIntent = new Intent(context, ImageDownloadService.class);
context.getApplicationContext().startService(serviceIntent);
// Intent serviceIntent = new Intent(context, ImageDownloadService.class);
//context.getApplicationContext().startService(serviceIntent); //removed on 2018.07.18
}

} catch (FileNotFoundException exfnf) {
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
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ ext {
supportLibraryVersion = '27.1.1'
jodaTimeVersion = '2.9.3'
arcaVersion = '4.9.2'
firebaseVersion = '15.0.2'
firebaseVersion = '16.0.1'
cameraviewVersion = '9bbe07ba44'
permissionDispatcherVersion = '2.3.2'
debugDbVersion = '1.0.0'
Expand All @@ -58,6 +58,6 @@ ext {
glideVersion = '3.8.0'
parseAndroidVersion = '1.15.7'
guavaVersion = '22.0-android'
constraintLayoutVersion = '1.1.0'
crashlyticsVersion = '2.9.2'
constraintLayoutVersion = '1.1.2'
crashlyticsVersion = '2.9.4'
}

0 comments on commit 6613560

Please sign in to comment.