summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRucha Katakwar <ruchamk@google.com>2022-07-19 15:42:35 -0700
committerRucha Katakwar <ruchamk@google.com>2022-07-19 15:42:35 -0700
commit87a2e092aecb6f3be92034a457b9a07714bedc40 (patch)
treed1fe7982756aa03d136f1b0b6be9c06da78f32ac
parentc6ccc282f079b3024fb57368ec785f57c0a50e79 (diff)
Update the HAL side about torch max level safety.
Bug: 239492786 Change-Id: I59dc2acc89c617be4551a4d92494a47b782d5e13
-rw-r--r--camera/device/aidl/android/hardware/camera/device/ICameraDevice.aidl6
1 files changed, 4 insertions, 2 deletions
diff --git a/camera/device/aidl/android/hardware/camera/device/ICameraDevice.aidl b/camera/device/aidl/android/hardware/camera/device/ICameraDevice.aidl
index 57705bc621..f9400006c8 100644
--- a/camera/device/aidl/android/hardware/camera/device/ICameraDevice.aidl
+++ b/camera/device/aidl/android/hardware/camera/device/ICameraDevice.aidl
@@ -279,8 +279,10 @@ interface ICameraDevice {
* with specified torchStrength if the torch is OFF.
*
* The torchStrength value must be within the valid range i.e. >=1 and
- * <= FLASH_INFO_STRENGTH_MAXIMUM_LEVEL. Whenever the torch is turned OFF,
- * the brightness level will reset to FLASH_INFO_STRENGTH_DEFAULT_LEVEL.
+ * <= FLASH_INFO_STRENGTH_MAXIMUM_LEVEL. The FLASH_INFO_STRENGTH_MAXIMUM_LEVEL must
+ * be set to a level which will not cause any burn out issues. Whenever
+ * the torch is turned OFF, the brightness level will reset to
+ * FLASH_INFO_STRENGTH_DEFAULT_LEVEL.
* When the client calls setTorchMode(ON) after turnOnTorchWithStrengthLevel(N),
* the flash unit will have brightness level equal to N. This level does not
* represent the real brightness units. It is linear in nature i.e. flashlight