commit | 43e69a6792f01b86b4aaf2314534f637e11c5843 | [log] [tgz] |
---|---|---|
author | Chien-Yu Chen <cychen@google.com> | Tue Nov 25 16:38:33 2014 -0800 |
committer | Chien-Yu Chen <cychen@google.com> | Tue Dec 09 13:18:21 2014 -0800 |
tree | 7478eaca83d995977d5b691eedbe0eac3ee0aff8 | |
parent | f6a364ed92945bf8a39dbadddb674c3f2e3b7d53 [diff] |
Camera3Device: support shutter after result Move the code to remove in-flight requests from processCaptureResult to a separate function so it can be called when the framework receives a result or a shutter event. An in-flight request will only be removed when both results and the shutter event arrive in the case of a successful request. Also send out results only after the shutter event receives. Bug: 18135776 Change-Id: I340db1a495c711b0913784d43fd0f144871e4420