diff --git a/core/java/android/hardware/camera2/CameraCharacteristics.java b/core/java/android/hardware/camera2/CameraCharacteristics.java index 96a18dcac92a7..3c8b6e9101b38 100644 --- a/core/java/android/hardware/camera2/CameraCharacteristics.java +++ b/core/java/android/hardware/camera2/CameraCharacteristics.java @@ -1323,7 +1323,7 @@ public final class CameraCharacteristics extends CameraMetadataMaximum flashlight brightness level.

*

If this value is greater than 1, then the device supports controlling the * flashlight brightness level via - * {android.hardware.camera2.CameraManager#setTorchStrengthLevel}. + * {android.hardware.camera2.CameraManager#turnOnTorchWithStrengthLevel}. * 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.

*

Optional - The value for this key may be {@code null} on some devices.

@@ -1335,7 +1335,7 @@ public final class CameraCharacteristics extends CameraMetadataDefault flashlight brightness level to be set via - * {android.hardware.camera2.CameraManager#setTorchStrengthLevel}.

+ * {android.hardware.camera2.CameraManager#turnOnTorchWithStrengthLevel}.

*

If flash unit is available this will be greater than or equal to 1 and less * or equal to {@link CameraCharacteristics#FLASH_INFO_STRENGTH_MAXIMUM_LEVEL android.flash.info.strengthMaximumLevel}.

*

Setting flashlight brightness above the default level