public class StillCaptureFlashStopRepeatingQuirk implements Quirk

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.