summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2010-12-03 16:19:03 +0800
committerWu-cheng Li <wuchengli@google.com>2010-12-03 16:42:11 +0800
commit8a66efdc845a5fdf0750d0fd6a2a92ecbcf77fce (patch)
tree8cdc09254b06d986d1582cae3a0994fe4ce3efdd /src
parent742593ed71ebff889a0a23eeba6d7309def6c4fb (diff)
downloadLegacyCamera-8a66efdc845a5fdf0750d0fd6a2a92ecbcf77fce.zip
LegacyCamera-8a66efdc845a5fdf0750d0fd6a2a92ecbcf77fce.tar.gz
LegacyCamera-8a66efdc845a5fdf0750d0fd6a2a92ecbcf77fce.tar.bz2
Update scene mode affected settings during initialization.
Change-Id: I41e8b0e7e48658c56f0bcc1a4c0842b946feffe2
Diffstat (limited to 'src')
-rw-r--r--src/com/android/camera/Camera.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java
index 9e4700c..10e9b5d 100644
--- a/src/com/android/camera/Camera.java
+++ b/src/com/android/camera/Camera.java
@@ -1108,6 +1108,7 @@ public class Camera extends NoSearchActivity implements View.OnClickListener,
mControlPanel.setListener(new MyControlPanelListener());
mPopupGestureDetector = new GestureDetector(this,
new PopupGestureListener());
+ updateSceneModeUI();
}
}
@@ -1932,8 +1933,6 @@ public class Camera extends NoSearchActivity implements View.OnClickListener,
Log.w(TAG, "invalid exposure: " + exposure);
}
- updateSceneModeUI();
-
if (Parameters.SCENE_MODE_AUTO.equals(mSceneMode)) {
// Set flash mode.
String flashMode = mPreferences.getString(
@@ -2013,6 +2012,7 @@ public class Camera extends NoSearchActivity implements View.OnClickListener,
return;
} else if (isCameraIdle()) {
setCameraParameters(mUpdateSet);
+ updateSceneModeUI();
mUpdateSet = 0;
} else {
if (!mHandler.hasMessages(SET_CAMERA_PARAMETERS_WHEN_IDLE)) {