summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Shvadskiy <ashvadskiy@cyngn.com>2016-06-01 15:10:08 -0700
committerSteve Kondik <steve@cyngn.com>2016-11-20 02:10:22 -0800
commitfe77d1616940b924a772f6b8ddd199540a4fae3f (patch)
treecdbb03d1a8da7717bb17cfb6290bcaa17813123b
parent99e47e69a6976091b3938993468fd65b9816ab01 (diff)
downloadandroid_packages_apps_Snap-fe77d1616940b924a772f6b8ddd199540a4fae3f.zip
android_packages_apps_Snap-fe77d1616940b924a772f6b8ddd199540a4fae3f.tar.gz
android_packages_apps_Snap-fe77d1616940b924a772f6b8ddd199540a4fae3f.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();
}