commit | 6e8eb357eef2ad2bba6666d4770e178e646ba745 | [log] [tgz] |
---|---|---|
author | Sebastiano Barezzi <seba@sebaubuntu.dev> | Tue Feb 27 23:57:55 2024 +0100 |
committer | Alexander Martinz <alex@amartinz.at> | Fri Nov 15 14:03:13 2024 +0100 |
tree | 4b1b5948a7ada10420766fc60533491985e37c51 | |
parent | ed655fc7e0f68b464d566ce3e703180b2dd295a9 [diff] |
Aperture: Remove RED_EYE mentions Change-Id: Idf7b6f805c55d24656dd4c9970909c5362fdfecd
diff --git a/app/src/main/java/org/lineageos/aperture/ext/CameraController.kt b/app/src/main/java/org/lineageos/aperture/ext/CameraController.kt index bd1d451..fee0ddd 100644 --- a/app/src/main/java/org/lineageos/aperture/ext/CameraController.kt +++ b/app/src/main/java/org/lineageos/aperture/ext/CameraController.kt
@@ -24,7 +24,6 @@ set(value) { enableTorch(value == FlashMode.TORCH) - // TODO: support FlashMode.RED_EYE imageCaptureFlashMode = when (value) { FlashMode.OFF -> ImageCapture.FLASH_MODE_OFF FlashMode.AUTO -> ImageCapture.FLASH_MODE_AUTO
diff --git a/app/src/main/java/org/lineageos/aperture/models/FlashMode.kt b/app/src/main/java/org/lineageos/aperture/models/FlashMode.kt index d0317ab..a8c8525 100644 --- a/app/src/main/java/org/lineageos/aperture/models/FlashMode.kt +++ b/app/src/main/java/org/lineageos/aperture/models/FlashMode.kt
@@ -22,12 +22,6 @@ ON, /** - * Flash will be fired in red-eye reduction mode. - * Currently not supported by CameraX. - */ - // RED_EYE, - - /** * Constant emission of light during preview, auto-focus and snapshot. */ TORCH;