Skip to content

Commit 40b8e67

Browse files
CONTROL_AE_MODE_ON_EXTERNAL_FLASHを追加。
1 parent 5957e97 commit 40b8e67

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • dConnectDevicePlugin/dConnectDeviceHost/app/src/main/java/org/deviceconnect/android/deviceplugin/host/camera

dConnectDevicePlugin/dConnectDeviceHost/app/src/main/java/org/deviceconnect/android/deviceplugin/host/camera/CameraWrapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,8 @@ private void onCaptureResult(final CaptureResult result, final boolean isComplet
688688
Integer aeState = result.get(CaptureResult.CONTROL_AE_STATE);
689689
mIsAeReady = aeState == null
690690
|| aeState == CaptureResult.CONTROL_AE_STATE_CONVERGED
691-
|| aeState == CaptureRequest.CONTROL_AE_STATE_FLASH_REQUIRED;
691+
|| aeState == CaptureRequest.CONTROL_AE_STATE_FLASH_REQUIRED
692+
|| aeState == CaptureRequest.CONTROL_AE_STATE_PRECAPTURE;
692693
}
693694
mIsCaptureReady |= isCompleted;
694695
if (DEBUG) {

0 commit comments

Comments
 (0)