From 5f9da396acaaf543a0d5a14ada5b2a75a794cd9d Mon Sep 17 00:00:00 2001 From: Chien-Yu Chen Date: Fri, 19 Jan 2018 18:55:36 -0800 Subject: [PATCH] camera: Modify AF scene change Allow DETECT in all AF modes. Test: CTS Bug: 64847201 Change-Id: I278016b502d17d3b9c6fd91cf2baadb405dd2dff --- core/java/android/hardware/camera2/CaptureResult.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java index 237a92d3ca9fe..c6fc4b4ed56c7 100644 --- a/core/java/android/hardware/camera2/CaptureResult.java +++ b/core/java/android/hardware/camera2/CaptureResult.java @@ -2203,8 +2203,6 @@ public class CaptureResult extends CameraMetadata> { * significant illumination change, this value will be set to DETECTED for a single capture * result. Otherwise the value will be NOT_DETECTED. The threshold for detection is similar * to what would trigger a new passive focus scan to begin in CONTINUOUS autofocus modes.

- *

afSceneChange may be DETECTED only if afMode is AF_MODE_CONTINUOUS_VIDEO or - * AF_MODE_CONTINUOUS_PICTURE. In other AF modes, afSceneChange must be NOT_DETECTED.

*

This key will be available if the camera device advertises this key via {@link android.hardware.camera2.CameraCharacteristics#getAvailableCaptureResultKeys }.

*

Possible values: *