File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
src/main/java/com/dmitrybrant/android/cardboardmpo Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -8,15 +8,15 @@ android {
88 defaultConfig {
99 minSdkVersion 16
1010 targetSdkVersion 23
11- versionCode 8
12- versionName " 1.4 "
11+ versionCode 9
12+ versionName " 1.5 "
1313 }
1414
1515 lintOptions. abortOnError false
1616
1717 buildTypes {
1818 release {
19- minifyEnabled true
19+ minifyEnabled false
2020 proguardFiles getDefaultProguardFile(' proguard-android.txt' )
2121 }
2222 }
Original file line number Diff line number Diff line change @@ -225,6 +225,9 @@ public MainFindTask() {
225225
226226 @ Override
227227 protected void onPostExecute (List <File > results ) {
228+ if (isDestroyed ()) {
229+ return ;
230+ }
228231 mpoFileList .clear ();
229232 setProgress (false );
230233 if (results .size () == 0 ) {
@@ -275,6 +278,9 @@ protected void onProgressUpdate(Integer... progress) {
275278
276279 @ Override
277280 protected void onPostExecute (List <Long > results ) {
281+ if (isDestroyed ()) {
282+ return ;
283+ }
278284 if (bmpLeft == null || bmpRight == null ) {
279285 setStatus (true , getString (R .string .status_error_load ));
280286 } else {
You can’t perform that action at this time.
0 commit comments