commit | 3cfe9a01ad2e21523f928c18c9a4ad50d7f852e7 | [log] [tgz] |
---|---|---|
author | Sebastiano Barezzi <seba@sebaubuntu.dev> | Tue Feb 27 23:57:55 2024 +0100 |
committer | Sebastiano Barezzi <seba@sebaubuntu.dev> | Wed Feb 28 16:41:29 2024 +0100 |
tree | cacf53362b9f27349cf824564b46615b274ac8ac | |
parent | f3fbb59a51f2e755f100c3ace76bc10f16dc15c3 [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;