diff options
author | Wu-cheng Li <wuchengli@google.com> | 2011-11-14 20:30:14 +0800 |
---|---|---|
committer | Wu-cheng Li <wuchengli@google.com> | 2011-11-29 14:28:05 +0800 |
commit | d620506220a15177942a8168d09c517740e908d0 (patch) | |
tree | 997518a6958befe0d739f8867f56d63338bd7391 /services/camera | |
parent | 7c56bb3ac1fb758a222a0c23805704a2789657b6 (diff) | |
download | frameworks_av-d620506220a15177942a8168d09c517740e908d0.zip frameworks_av-d620506220a15177942a8168d09c517740e908d0.tar.gz frameworks_av-d620506220a15177942a8168d09c517740e908d0.tar.bz2 |
Add camera focus move callback.
bug:5534973
Change-Id: Iaadcb2738ad040f94849be30ee531326f6199431
Diffstat (limited to 'services/camera')
-rw-r--r-- | services/camera/libcameraservice/CameraService.cpp | 2 |
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; |