summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0388b57..3dce60d 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 dbd89ec..876dff3 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) {