diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2014-06-19 15:00:44 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2014-06-19 15:00:44 -0700 |
commit | 2e415eed4483ea0fdfd8cfff3e8189ab14c8cb04 (patch) | |
tree | 2b829699378117802e106b25fd81c4731ff84b7c | |
parent | 14dc8d8d925651d5c2e2b34cbef5107e20675e11 (diff) | |
parent | 25e0aae482ee7be72f307768b447af3ffc83f679 (diff) | |
download | android_packages_apps_Snap-2e415eed4483ea0fdfd8cfff3e8189ab14c8cb04.tar.gz android_packages_apps_Snap-2e415eed4483ea0fdfd8cfff3e8189ab14c8cb04.tar.bz2 android_packages_apps_Snap-2e415eed4483ea0fdfd8cfff3e8189ab14c8cb04.zip |
Merge "Camera2: missing rendering progress bar workaround"
-rw-r--r-- | src/com/android/camera/WideAnglePanoramaUI.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/camera/WideAnglePanoramaUI.java b/src/com/android/camera/WideAnglePanoramaUI.java index c2a31a987..461e7b4d8 100644 --- a/src/com/android/camera/WideAnglePanoramaUI.java +++ b/src/com/android/camera/WideAnglePanoramaUI.java @@ -280,6 +280,10 @@ public class WideAnglePanoramaUI implements bitmap = null; mCaptureLayout.setVisibility(View.GONE); mReviewLayout.setVisibility(View.VISIBLE); + // If capture is stopped by device rotation, the rendering progress bar + // is sometimes not shown due to wrong layout result. It's likely to be + // a framework bug. Call requestLayout() as a workaround. + mSavingProgressBar.requestLayout(); } public void onConfigurationChanged( |