commit | 984a086412a94ebea1bd9af8cd8bbf4afab38034 | [log] [tgz] |
---|---|---|
author | Sol Boucher <solb@google.com> | Mon Aug 25 11:42:50 2014 -0700 |
committer | Sol Boucher <solb@google.com> | Tue Aug 26 18:27:59 2014 -0700 |
tree | 2f79b7886436c56a4ba619654ddfb4eba38493eb | |
parent | f27e71f979e803a3ac00f4057eb909886d957a3e [diff] |
camera2-portability: Optimize out some camera2 AE precaptures If it's already converged and the flash isn't being forced on, there's no need to force the precapture routine, which would delay our capture significantly. Also use onCaptureProgressed() instead of onCaptureCompleted() when possible. Change-Id: I0bb7956498b0070382cd5b39b7ccdc0cc0765913