Skip to content

Commit

Permalink
No longer minifying, and checking for activity destroyed.
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrant committed Dec 23, 2015
1 parent f08bc15 commit 3b94f6a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CardboardMpo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 23
versionCode 8
versionName "1.4"
versionCode 9
versionName "1.5"
}

lintOptions.abortOnError false

buildTypes {
release {
minifyEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt')
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,9 @@ public MainFindTask() {

@Override
protected void onPostExecute(List<File> results) {
if (isDestroyed()) {
return;
}
mpoFileList.clear();
setProgress(false);
if (results.size() == 0) {
Expand Down Expand Up @@ -275,6 +278,9 @@ protected void onProgressUpdate(Integer... progress) {

@Override
protected void onPostExecute(List<Long> results) {
if (isDestroyed()) {
return;
}
if (bmpLeft == null || bmpRight == null) {
setStatus(true, getString(R.string.status_error_load));
} else {
Expand Down

0 comments on commit 3b94f6a

Please sign in to comment.