commit | 1e6ccd5c78016ac9f9247cb8337cf263b3afb73e | [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 | c0626bdaf92c4f27acfe7d8bd33cdd7e0affab9f | |
parent | 82edd5431951f461058c07b73c0dbc093aa45c99 [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 */