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 | 9d062cfe94dcd24b1d61fc83e5de565cb67965b1 (patch) | |
tree | f220da0b5c284a40df6782ab20af495f00c4dd4e /services/camera/libcameraservice/CameraService.cpp | |
parent | 4e2ecdd8a78f25f4c234877d5321ebd4e4c0e8f7 (diff) | |
download | frameworks_base-9d062cfe94dcd24b1d61fc83e5de565cb67965b1.zip frameworks_base-9d062cfe94dcd24b1d61fc83e5de565cb67965b1.tar.gz frameworks_base-9d062cfe94dcd24b1d61fc83e5de565cb67965b1.tar.bz2 |
Add camera focus move callback.
bug:5534973
Change-Id: Iaadcb2738ad040f94849be30ee531326f6199431
Diffstat (limited to 'services/camera/libcameraservice/CameraService.cpp')
-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; |