commit | 70e9c113b626e9109ece5e4b3caba55e156f737e | [log] [tgz] |
---|---|---|
author | Yin-Chia Yeh <yinchiayeh@google.com> | Fri Apr 24 12:41:59 2015 -0700 |
committer | Yin-Chia Yeh <yinchiayeh@google.com> | Fri Apr 24 12:41:59 2015 -0700 |
tree | 8fb3c70b303c8702fdcf122865acdc3ee878dc50 | |
parent | 3dd9f1ec1a97905ea1901d9450cfddb48966a382 [diff] |
CameraITS: fix wrong fixed focus lens logic Bug: 20553180 Change-Id: Icff42cdaf392871324fd8fe8131b11e81a80b0aa
diff --git a/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ItsService.java b/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ItsService.java index f500205..e3d0b6d 100644 --- a/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ItsService.java +++ b/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ItsService.java
@@ -859,7 +859,7 @@ Float minFocusDistance = mCameraCharacteristics.get( CameraCharacteristics.LENS_INFO_MINIMUM_FOCUS_DISTANCE); boolean isFixedFocusLens = minFocusDistance != null && minFocusDistance == 0.0; - if (doAF && !isFixedFocusLens) { + if (doAF && isFixedFocusLens) { // Send a dummy result back for the code that is waiting for this message to see // that AF has converged. Logt.i(TAG, "Ignoring request for AF on fixed-focus camera");