Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9007619d authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by Android (Google) Code Review
Browse files

Merge "Shutter sound is heard at the end of the recorded video" into jb-mr1-dev

parents 44cda3a4 35f859b3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -445,9 +445,9 @@ void CameraClient::stopRecording() {
    Mutex::Autolock lock(mLock);
    if (checkPidAndHardware() != NO_ERROR) return;

    mCameraService->playSound(CameraService::SOUND_RECORDING);
    disableMsgType(CAMERA_MSG_VIDEO_FRAME);
    mHardware->stopRecording();
    mCameraService->playSound(CameraService::SOUND_RECORDING);

    mPreviewBuffer.clear();
}