AutoFlashAEModeDisabler

public class AutoFlashAEModeDisabler


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

Summary

Public methods

@NonNull int

Get AE mode corrected by the CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.

Public methods

getCorrectedAeMode

@NonNull
public int getCorrectedAeMode(@NonNull int aeMode)

Get AE mode corrected by the CrashWhenTakingPhotoWithAutoFlashAEModeQuirk.