We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f607f commit 50a8f51Copy full SHA for 50a8f51
camposer/src/main/java/com/ujizin/camposer/state/CameraState.kt
@@ -448,7 +448,9 @@ public class CameraState(context: Context) {
448
}
449
450
private fun setExposureCompensation(exposureCompensation: Int) {
451
- controller.cameraControl?.setExposureCompensationIndex(exposureCompensation)
+ if (exposureCompensation in minExposure..maxExposure) {
452
+ controller.cameraControl?.setExposureCompensationIndex(exposureCompensation)
453
+ }
454
455
456
/**
0 commit comments