mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-06-27 09:02:59 +02:00
do not allow automatic flash in video mode
This commit is contained in:
@ -228,7 +228,7 @@ class MainActivity : SimpleActivity(), SensorEventListener, PreviewListener, Pho
|
||||
return
|
||||
}
|
||||
|
||||
mFlashlightState = ++mFlashlightState % 3
|
||||
mFlashlightState = ++mFlashlightState % if (mIsInPhotoMode) 3 else 2
|
||||
checkFlash()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user