From 5ebec93d734acae38accf44fc7cdad7943ab76e5 Mon Sep 17 00:00:00 2001 From: Emilian Peev Date: Fri, 3 Mar 2023 14:14:23 -0800 Subject: [PATCH] Camera: Correct DynamicRangeProfiles javadocs Update the dynamic range profile constructor argument javadoc to include the recently added latency hint element. Bug: 271496406 Test: Successful build Change-Id: I015bd3ae2aa424081700d88c353e22d0f8985e81 --- .../camera2/params/DynamicRangeProfiles.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/core/java/android/hardware/camera2/params/DynamicRangeProfiles.java b/core/java/android/hardware/camera2/params/DynamicRangeProfiles.java index 34c83366e42c6..7cd627dcc0147 100644 --- a/core/java/android/hardware/camera2/params/DynamicRangeProfiles.java +++ b/core/java/android/hardware/camera2/params/DynamicRangeProfiles.java @@ -181,13 +181,15 @@ public final class DynamicRangeProfiles { * for a given camera id in order to retrieve the device capabilities.

* * @param elements - * An array of elements describing the map. It contains two elements per entry which - * describe the supported dynamic range profile value in the first element and in the - * second element a bitmap of concurrently supported dynamic range profiles within the - * same capture request. Bitmap values of 0 indicate that there are no constraints. + * An array of elements describing the map. It contains three elements per entry. The + * first element describes the supported dynamic range profile value. The + * second element contains a bitmap of concurrently supported dynamic range profiles + * within the same capture request. The third element contains a hint about + * extra latency associated with the corresponding dynamic range. Bitmap values of 0 + * indicate that there are no constraints. * * @throws IllegalArgumentException - * if the {@code elements} array length is invalid, not divisible by 2 or contains + * if the {@code elements} array length is invalid, not divisible by 3 or contains * invalid element values * @throws NullPointerException * if {@code elements} is {@code null}