summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamera Software Integration <camswint@localhost>2016-12-20 02:55:03 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-20 02:55:03 -0800
commit37e6de55329fc3fe529d324736fae8767e64fcd2 (patch)
tree087f333ffeb5d68915d449de95d697d1a50c8545
parent823cdd0a5232cf837a774a4e78ae39d63082867b (diff)
parentd939396a8cfc2fc1ad22062ecc499a97d4537e00 (diff)
downloadandroid_packages_apps_Snap-37e6de55329fc3fe529d324736fae8767e64fcd2.tar.gz
android_packages_apps_Snap-37e6de55329fc3fe529d324736fae8767e64fcd2.tar.bz2
android_packages_apps_Snap-37e6de55329fc3fe529d324736fae8767e64fcd2.zip
Merge "SnapdragonCamera: Fix ProMode refresh UI issue" into camera.lnx.1.0-dev.1.0
-rwxr-xr-xsrc/com/android/camera/ui/OneUICameraControls.java1
-rw-r--r--src/com/android/camera/ui/ProMode.java4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/camera/ui/OneUICameraControls.java b/src/com/android/camera/ui/OneUICameraControls.java
index 0388b5761..3dce60d22 100755
--- a/src/com/android/camera/ui/OneUICameraControls.java
+++ b/src/com/android/camera/ui/OneUICameraControls.java
@@ -532,6 +532,7 @@ public class OneUICameraControls extends RotatableLayout {
mProModeOn = promode;
initializeProMode(mProModeOn);
resetProModeIcons();
+ mProMode.reinit();
}
private void resetProModeIcons() {
diff --git a/src/com/android/camera/ui/ProMode.java b/src/com/android/camera/ui/ProMode.java
index dbd89ec58..876dff323 100644
--- a/src/com/android/camera/ui/ProMode.java
+++ b/src/com/android/camera/ui/ProMode.java
@@ -169,6 +169,10 @@ public class ProMode extends View {
mCurveMeasure = new PathMeasure(mCurvePath, false);
}
+ public void reinit() {
+ init();
+ }
+
public void setOrientation(int orientation) {
mOrientation = orientation;
if (mAddedViews != null) {