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

Commit da1c5c15 authored by Eino-Ville Talvala's avatar Eino-Ville Talvala
Browse files

Camera2: ZSL captures should also make some noise.

Change-Id: If7aff7223db41b4b7edeeb4c32e40ef3197b180b
parent c5531186
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -285,6 +285,11 @@ CaptureSequencer::CaptureState CaptureSequencer::manageZslStart(
        return STANDARD_START;
    }

    SharedParameters::Lock l(client->getParameters());
    if (l.mParameters.playShutterSound) {
        client->getCameraService()->playSound(CameraService::SOUND_SHUTTER);
    }

    mTimeoutCount = kMaxTimeoutsForCaptureEnd;
    return STANDARD_CAPTURE_WAIT;
}