summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArtem Shvadskiy <ashvadskiy@cyngn.com>2016-06-01 15:10:08 -0700
committerArne Coucheron <arco68@gmail.com>2018-01-26 01:09:03 +0100
commit331f645f332a7c6d130e3411c58e78c54477643d (patch)
tree85542594f70ed745655ba8273ba7d6a200677371
parent13f44103a4122c67280929735172bb2173b899c5 (diff)
downloadandroid_packages_apps_Snap-331f645f332a7c6d130e3411c58e78c54477643d.zip
android_packages_apps_Snap-331f645f332a7c6d130e3411c58e78c54477643d.tar.gz
android_packages_apps_Snap-331f645f332a7c6d130e3411c58e78c54477643d.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 ebf640f..0f9679b 100644
--- a/src/com/android/camera/WideAnglePanoramaModule.java
+++ b/src/com/android/camera/WideAnglePanoramaModule.java
@@ -692,6 +692,7 @@ public class WideAnglePanoramaModule
}
public void reportProgress() {
+ mUI.showUI();
mUI.resetSavingProgress();
Thread t = new Thread() {
@Override
@@ -1226,7 +1227,7 @@ public class WideAnglePanoramaModule
@Override
public void cancelHighResStitching() {
- if (mPaused || mCameraTexture == null) return;
+ if (mPaused) return;
cancelHighResComputation();
}