StillCaptureFlashStopRepeatingQuirk

@RequiresApi(21) open class StillCaptureFlashStopRepeatingQuirk : Quirk
kotlin.Any
   ↳ androidx.camera.camera2.internal.compat.quirk.StillCaptureFlashStopRepeatingQuirk

Quirk that still capture with flash on/auto requires stopRepeating() being called ahead of capture.

On some devices like Samsung SM-A716B, it could lead to CaptureRequest not being completed when taking photos in dark environment with flash on/auto. Calling stopRepeating ahead of still capture and setRepeating again after capture is done can fix the issue. See b/172036589.

Summary

Public constructors

Quirk that still capture with flash on/auto requires stopRepeating() being called ahead of capture.

Public constructors

StillCaptureFlashStopRepeatingQuirk

StillCaptureFlashStopRepeatingQuirk()

Quirk that still capture with flash on/auto requires stopRepeating() being called ahead of capture.

On some devices like Samsung SM-A716B, it could lead to CaptureRequest not being completed when taking photos in dark environment with flash on/auto. Calling stopRepeating ahead of still capture and setRepeating again after capture is done can fix the issue. See b/172036589.