AutoFlashAEModeDisabler

@RequiresApi(21) open class AutoFlashAEModeDisabler
kotlin.Any
   ↳ androidx.camera.camera2.internal.compat.workaround.AutoFlashAEModeDisabler

A workaround to turn off the auto flash AE mode if device has the CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.

Summary

Public constructors

A workaround to turn off the auto flash AE mode if device has the CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.

Public methods
open Int

Get AE mode corrected by the CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.

Public constructors

AutoFlashAEModeDisabler

AutoFlashAEModeDisabler()

A workaround to turn off the auto flash AE mode if device has the CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.

Public methods

getCorrectedAeMode

open fun getCorrectedAeMode(aeMode: Int): Int

Get AE mode corrected by the CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.