mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-04-25 12:38:46 +02:00
do not allow automatic flash in video mode
This commit is contained in:
parent
604c5b9e76
commit
f2b8b1ed32
@ -228,7 +228,7 @@ class MainActivity : SimpleActivity(), SensorEventListener, PreviewListener, Pho
|
||||
return
|
||||
}
|
||||
|
||||
mFlashlightState = ++mFlashlightState % 3
|
||||
mFlashlightState = ++mFlashlightState % if (mIsInPhotoMode) 3 else 2
|
||||
checkFlash()
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user