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

Commit ffd99cb7 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala Committed by android code review
Browse files

Merge "Shutter sound is heard at the end of the recorded video"

parents ffb82943 a21795c5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();
}