commit | 2e3dd56217e32cd042d10c1c927bb89b0cbef221 | [log] [tgz] |
---|---|---|
author | Emilian Peev <epeev@google.com> | Thu Dec 12 14:06:07 2019 -0800 |
committer | Emilian Peev <epeev@google.com> | Thu Dec 12 14:11:33 2019 -0800 |
tree | ef45e9f2b8baeacfab58a85249b49c2eb2733b79 | |
parent | e897bc1c043586147e0070826d596ecf1167c1f8 [diff] |
Camera: Drain the results after each preview/capture combination Depending on the device the capture results can be relatively big and could accumulate fairly quickly after many iterations. Avoid the possibilility of running out of memory by draining the results queue after each preview/capture combination. Bug: 145793792 Bug: 145496257 Test: Camera CTS Change-Id: I455d965b6508dcd4f36ac2ae2571e4e016c3286a