summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEino-Ville Talvala <etalvala@google.com>2012-08-01 16:13:50 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-01 16:13:50 -0700
commitffd99cb795c92caee7f4bd0b26af9ae37b100fc3 (patch)
tree8052661f7b84736d863a553b4c3e0037729363e9
parentffb829430ff20ccd6c13e6ed894f2373b2d93939 (diff)
parenta21795c5d1d4ca9a6361e4b2db3e1f053e67b1c9 (diff)
downloadframeworks_av-ffd99cb795c92caee7f4bd0b26af9ae37b100fc3.zip
frameworks_av-ffd99cb795c92caee7f4bd0b26af9ae37b100fc3.tar.gz
frameworks_av-ffd99cb795c92caee7f4bd0b26af9ae37b100fc3.tar.bz2
Merge "Shutter sound is heard at the end of the recorded video"
-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 bf07f8b..385be50 100644
--- a/services/camera/libcameraservice/CameraService.cpp
+++ b/services/camera/libcameraservice/CameraService.cpp
@@ -721,9 +721,9 @@ void CameraService::Client::stopRecording() {
Mutex::Autolock lock(mLock);
if (checkPidAndHardware() != NO_ERROR) return;
- mCameraService->playSound(SOUND_RECORDING);
disableMsgType(CAMERA_MSG_VIDEO_FRAME);
mHardware->stopRecording();
+ mCameraService->playSound(SOUND_RECORDING);
mPreviewBuffer.clear();
}