am 350f7e3d: am 00dfa8a1: am 1619b3c3: Fix infinite spinner dialog

* commit '350f7e3de777fdb331494ea5efb08809e46f980b':
  Fix infinite spinner dialog
diff --git a/src/com/android/gallery3d/filtershow/pipeline/ProcessingService.java b/src/com/android/gallery3d/filtershow/pipeline/ProcessingService.java
index b5b636e..e5736d4 100644
--- a/src/com/android/gallery3d/filtershow/pipeline/ProcessingService.java
+++ b/src/com/android/gallery3d/filtershow/pipeline/ProcessingService.java
@@ -288,7 +288,7 @@
         if (mNeedsAlive) {
             // If the app has been restarted while we were saving...
             mFiltershowActivity.updateUIAfterServiceStarted();
-        } else if (mFiltershowActivity.isSimpleEditAction()) {
+        } else if (exit || mFiltershowActivity.isSimpleEditAction()) {
             // terminate now
             mFiltershowActivity.completeSaveImage(result);
         }