apply Resolution Selection Order Related Workarounds
fun applyResolutionSelectionOrderRelatedWorkarounds(sizeList: List<Size>, imageFormat: Int): List<Size>
Applies resolution selection order related workarounds.
TargetAspectRatio workaround makes CameraX select sizes of specific aspect ratio in priority to avoid the preview image stretch issue.
ResolutionCorrector workaround makes CameraX select specific sizes for different capture types to avoid the preview image stretch issue.
See also
Target Aspect Ratio
Resolution Corrector