summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Shvadskiy <ashvadskiy@cyngn.com>2016-06-01 15:10:08 -0700
committerMichael Bestas <mikeioannina@gmail.com>2017-01-04 22:00:43 +0200
commit65703b2b637ea6fb4869de81819e35fd4e20219f (patch)
treeff70829e9e9bfb57097f7d8d1077d18977e1079e
parent6264a59334a262a59038466a9d6ab083dabd89da (diff)
downloadandroid_packages_apps_Snap-65703b2b637ea6fb4869de81819e35fd4e20219f.zip
android_packages_apps_Snap-65703b2b637ea6fb4869de81819e35fd4e20219f.tar.gz
android_packages_apps_Snap-65703b2b637ea6fb4869de81819e35fd4e20219f.tar.bz2
Show UI when pano stitch starts and remove cancel condition
Change-Id: I72b2bf2e1062a548ff9470075a5151923619e062 issue-id: FEIJ-469
-rw-r--r--src/com/android/camera/WideAnglePanoramaModule.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/camera/WideAnglePanoramaModule.java b/src/com/android/camera/WideAnglePanoramaModule.java
index 9687be8..17b3fe1 100644
--- a/src/com/android/camera/WideAnglePanoramaModule.java
+++ b/src/com/android/camera/WideAnglePanoramaModule.java
@@ -685,6 +685,7 @@ public class WideAnglePanoramaModule extends BaseModule<WideAnglePanoramaUI> imp
}
public void reportProgress() {
+ mUI.showUI();
mUI.resetSavingProgress();
Thread t = new Thread() {
@Override
@@ -1209,7 +1210,7 @@ public class WideAnglePanoramaModule extends BaseModule<WideAnglePanoramaUI> imp
@Override
public void cancelHighResStitching() {
- if (mPaused || mCameraTexture == null) return;
+ if (mPaused) return;
cancelHighResComputation();
}