Merge "Update torch brightness max level description." into tm-d1-dev am: 7cdfd75b02 am: 77f3fe5709

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/19386567

Change-Id: I8cc7c95e80e21ad68847b749dd9f0b0d36bbf27b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Rucha Katakwar
2022-07-27 19:00:10 +00:00
committed by Automerger Merge Worker

View File

@@ -1325,8 +1325,11 @@ public final class CameraCharacteristics extends CameraMetadata<CameraCharacteri
* flashlight brightness level via * flashlight brightness level via
* {@link android.hardware.camera2.CameraManager#turnOnTorchWithStrengthLevel }. * {@link android.hardware.camera2.CameraManager#turnOnTorchWithStrengthLevel }.
* If this value is equal to 1, flashlight brightness control is not supported. * If this value is equal to 1, flashlight brightness control is not supported.
* The value for this key will be null for devices with no flash unit. * The value for this key will be null for devices with no flash unit.</p>
* This level must be set to a safe value to prevent any burn out issues.</p> * <p>The maximum value is guaranteed to be safe to use for an indefinite duration in
* terms of device flashlight lifespan, but may be too bright for comfort for many
* use cases. Use the default torch brightness value to avoid problems with an
* over-bright flashlight.</p>
* <p><b>Optional</b> - The value for this key may be {@code null} on some devices.</p> * <p><b>Optional</b> - The value for this key may be {@code null} on some devices.</p>
*/ */
@PublicKey @PublicKey