summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorWu-cheng Li <wuchengli@google.com>2011-11-29 18:45:06 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-11-29 18:45:06 -0800
commit37a153f450cb8550fe64a1bf62366cf5e944d6ab (patch)
treee6437c8c947f3cfb5516c691faeacf46ccfbc47d /services
parent7a3a2b2f9bb9421dcf83fbd47276e57917078aef (diff)
parentd620506220a15177942a8168d09c517740e908d0 (diff)
downloadframeworks_av-37a153f450cb8550fe64a1bf62366cf5e944d6ab.zip
frameworks_av-37a153f450cb8550fe64a1bf62366cf5e944d6ab.tar.gz
frameworks_av-37a153f450cb8550fe64a1bf62366cf5e944d6ab.tar.bz2
Merge "Add camera focus move callback."
Diffstat (limited to 'services')
-rw-r--r--services/camera/libcameraservice/CameraService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/camera/libcameraservice/CameraService.cpp b/services/camera/libcameraservice/CameraService.cpp
index bb0e664..4760f07 100644
--- a/services/camera/libcameraservice/CameraService.cpp
+++ b/services/camera/libcameraservice/CameraService.cpp
@@ -361,7 +361,7 @@ CameraService::Client::Client(const sp<CameraService>& cameraService,
// Enable zoom, error, focus, and metadata messages by default
enableMsgType(CAMERA_MSG_ERROR | CAMERA_MSG_ZOOM | CAMERA_MSG_FOCUS |
- CAMERA_MSG_PREVIEW_METADATA);
+ CAMERA_MSG_PREVIEW_METADATA | CAMERA_MSG_FOCUS_MOVE);
// Callback is disabled by default
mPreviewCallbackFlag = CAMERA_FRAME_CALLBACK_FLAG_NOOP;