CameraITS: Just check the flash state.
For still capture image, just check the flash state being fired.
Change-Id: Ie89286af1823d083196bc8e77e87583460ca8841
diff --git a/apps/CameraITS/tests/scene2_a/test_auto_flash.py b/apps/CameraITS/tests/scene2_a/test_auto_flash.py
index b20da2d..ab6e98f 100644
--- a/apps/CameraITS/tests/scene2_a/test_auto_flash.py
+++ b/apps/CameraITS/tests/scene2_a/test_auto_flash.py
@@ -184,8 +184,7 @@
logging.debug('AE_STATE (cap): %s', ae_state)
flash_state = FLASH_STATES[metadata['android.flash.state']]
logging.debug('FLASH_STATE: %s', flash_state)
- # FLASH_REQUIRED and FLASH_FIRED
- if ae_state == 'FLASH_REQUIRED' and flash_state == 'FLASH_STATE_FIRED':
+ if flash_state == 'FLASH_STATE_FIRED':
logging.debug('Flash fired')
flash_fired = True
flash_exp_x_iso = exp*iso