// Nexus 6 captureBurst() started having problems with Android 7 upgrade - images appeared in wrong order (and with wrong order of shutter speeds in exif info), as well as problems with the camera failing with serious errors
// we set this even for Nexus 6 devices not on Android 7, as at some point they'll likely be upgraded to Android 7
@@ -7423,9 +7424,12 @@ public class CameraController2 extends CameraController {
Log.e(TAG,"shouldn't be doing precapture for burst - should be using fake precapture!");
}
try{
// use a separate builder for precapture - otherwise have problem that if we take photo with flash auto/on of dark scene, then point to a bright scene, the autoexposure isn't running until we autofocus again
// Use a separate builder for precapture - otherwise have problem that if we take photo with flash auto/on of dark scene, then point to a bright scene, the autoexposure isn't running until we autofocus again.
// Important that this is TEMPLATE_PREVIEW not TEMPLATE_STILL_CAPTURE, otherwise we have various problems with flash:
// * Flash won't fire on Galaxy devices.
// * End up with blue tinge on OnePlus 3T.
// * Flash auto produces blue tinge and leaves torch on for Pixel 6 Pro.