commit | ad21da9c2b575eddc0d11b789bb577985a0bf50b | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Sun Oct 07 22:43:48 2012 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Mon Oct 08 16:47:14 2012 -0700 |
tree | fba8e750664dc7fa8b9cae8009b2048df7559ffa | |
parent | 0ad293aac9af377606fb4aa752b95547a8462791 [diff] [blame] |
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
diff --git a/services/camera/libcameraservice/camera2/CaptureSequencer.h b/services/camera/libcameraservice/camera2/CaptureSequencer.h index 8df6d95..4cde9c8 100644 --- a/services/camera/libcameraservice/camera2/CaptureSequencer.h +++ b/services/camera/libcameraservice/camera2/CaptureSequencer.h
@@ -94,6 +94,8 @@ sp<MemoryBase> mCaptureBuffer; Condition mNewCaptureSignal; + bool mShutterNotified; + /** * Internal to CaptureSequencer */