diff options
author | Camera Software Integration <camswint@localhost> | 2016-12-20 02:55:03 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-12-20 02:55:03 -0800 |
commit | 37e6de55329fc3fe529d324736fae8767e64fcd2 (patch) | |
tree | 087f333ffeb5d68915d449de95d697d1a50c8545 | |
parent | 823cdd0a5232cf837a774a4e78ae39d63082867b (diff) | |
parent | d939396a8cfc2fc1ad22062ecc499a97d4537e00 (diff) | |
download | android_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-x | src/com/android/camera/ui/OneUICameraControls.java | 1 | ||||
-rw-r--r-- | src/com/android/camera/ui/ProMode.java | 4 |
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) { |