Merge "Update torch brightness max level description." into tm-d1-dev

This commit is contained in:
Rucha Katakwar
2022-07-27 18:14:04 +00:00
committed by Android (Google) Code Review

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