mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-04-24 20:18:45 +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
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
mFlashlightState = ++mFlashlightState % 3
|
mFlashlightState = ++mFlashlightState % if (mIsInPhotoMode) 3 else 2
|
||||||
checkFlash()
|
checkFlash()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user