summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRockchip2015-05-08 11:02:48 +0800
committerRockchip2015-05-08 11:02:48 +0800
commit258c20c2bd7b9ffab09a705d5d1e53c7338a0ee0 (patch)
treeb8ef58895414be128b4d77d70d500ac02871348e
parentfcc333b324e7365e26c027d7fed0a1942f7e3d52 (diff)
fix ModeOption click disable sometimes
-rw-r--r--src/com/android/camera/app/CameraAppUI.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/camera/app/CameraAppUI.java b/src/com/android/camera/app/CameraAppUI.java
index 2362e69..834640e 100644
--- a/src/com/android/camera/app/CameraAppUI.java
+++ b/src/com/android/camera/app/CameraAppUI.java
@@ -1230,9 +1230,9 @@ public class CameraAppUI implements ModeListView.ModeSwitchListener,
mModeOptionsOverlay.setCaptureLayoutHelper(mCaptureLayoutHelper);
mShutterButton = (ShutterButton) mCameraRootView.findViewById(R.id.shutter_button);
+ addShutterListener(this);
addShutterListener(mController.getCurrentModuleController());
addShutterListener(mModeOptionsOverlay);
- addShutterListener(this);
mGridLines = (GridLines) mCameraRootView.findViewById(R.id.grid_lines);
mTextureViewHelper.addPreviewAreaSizeChangedListener(mGridLines);