OSDN Git Service

Camera2: Move non-ZSL shutter sound firing to be later.
authorEino-Ville Talvala <etalvala@google.com>
Mon, 8 Oct 2012 05:43:48 +0000 (22:43 -0700)
committerEino-Ville Talvala <etalvala@google.com>
Mon, 8 Oct 2012 23:47:14 +0000 (16:47 -0700)
commitad21da9c2b575eddc0d11b789bb577985a0bf50b
treefba8e750664dc7fa8b9cae8009b2048df7559ffa
parent0ad293aac9af377606fb4aa752b95547a8462791
Camera2: Move non-ZSL shutter sound firing to be later.

Instead of firing shutter sound when capture request is submitted for
non-ZSL captures, fire it when the metadata frame is received. This
guarantees that the shutter sound fires after picture capture is
completed by the sensor.

Bug: 7259900
Change-Id: I4a1eeed89ed0400bf80b0f0cc2d5799c3d9bb9e3
services/camera/libcameraservice/camera2/CaptureSequencer.cpp
services/camera/libcameraservice/camera2/CaptureSequencer.h