mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-02-16 20:00:40 +01:00
do not try disabling the flashlight at resume while strobo is active
This commit is contained in:
parent
ac96e9b2e5
commit
439023e119
@ -138,6 +138,10 @@ public class MyCameraImpl {
|
||||
}
|
||||
|
||||
private void disableFlashlight() {
|
||||
if (mIsStroboscopeRunning) {
|
||||
return;
|
||||
}
|
||||
|
||||
mIsFlashlightOn = false;
|
||||
if (mIsMarshmallow) {
|
||||
toggleMarshmallowFlashlight(false);
|
||||
|
Loading…
x
Reference in New Issue
Block a user