From 30f6a80e985e74418e68e329891eb717fdf66137 Mon Sep 17 00:00:00 2001 From: Jayant Chowdhary Date: Wed, 6 Jan 2021 16:59:29 -0800 Subject: [PATCH] camera2 docs: fix CONTROL_AWB_MODE documentation. Bug: 123166531 Test: build Change-Id: I122ed8253c8417a5b6e0c494e0a9e891fde2b069 Signed-off-by: Jayant Chowdhary --- core/java/android/hardware/camera2/CaptureRequest.java | 2 +- core/java/android/hardware/camera2/CaptureResult.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/java/android/hardware/camera2/CaptureRequest.java b/core/java/android/hardware/camera2/CaptureRequest.java index d7aee10a5b938..157e333e497b1 100644 --- a/core/java/android/hardware/camera2/CaptureRequest.java +++ b/core/java/android/hardware/camera2/CaptureRequest.java @@ -1699,7 +1699,7 @@ public final class CaptureRequest extends CameraMetadata> * transform fields, and what its illumination target * is.

*

This control is only effective if {@link CaptureRequest#CONTROL_MODE android.control.mode} is AUTO.

- *

When set to the ON mode, the camera device's auto-white balance + *

When set to the AUTO mode, the camera device's auto-white balance * routine is enabled, overriding the application's selected * {@link CaptureRequest#COLOR_CORRECTION_TRANSFORM android.colorCorrection.transform}, {@link CaptureRequest#COLOR_CORRECTION_GAINS android.colorCorrection.gains} and * {@link CaptureRequest#COLOR_CORRECTION_MODE android.colorCorrection.mode}. Note that when {@link CaptureRequest#CONTROL_AE_MODE android.control.aeMode} diff --git a/core/java/android/hardware/camera2/CaptureResult.java b/core/java/android/hardware/camera2/CaptureResult.java index 66d8b50a073e7..c0eb06804d3e5 100644 --- a/core/java/android/hardware/camera2/CaptureResult.java +++ b/core/java/android/hardware/camera2/CaptureResult.java @@ -1781,7 +1781,7 @@ public class CaptureResult extends CameraMetadata> { * transform fields, and what its illumination target * is.

*

This control is only effective if {@link CaptureRequest#CONTROL_MODE android.control.mode} is AUTO.

- *

When set to the ON mode, the camera device's auto-white balance + *

When set to the AUTO mode, the camera device's auto-white balance * routine is enabled, overriding the application's selected * {@link CaptureRequest#COLOR_CORRECTION_TRANSFORM android.colorCorrection.transform}, {@link CaptureRequest#COLOR_CORRECTION_GAINS android.colorCorrection.gains} and * {@link CaptureRequest#COLOR_CORRECTION_MODE android.colorCorrection.mode}. Note that when {@link CaptureRequest#CONTROL_AE_MODE android.control.aeMode}