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
1 file changed