mirror of
https://github.com/SimpleMobileTools/Simple-Flashlight.git
synced 2025-02-17 04:10:46 +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() {
|
private void disableFlashlight() {
|
||||||
|
if (mIsStroboscopeRunning) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
mIsFlashlightOn = false;
|
mIsFlashlightOn = false;
|
||||||
if (mIsMarshmallow) {
|
if (mIsMarshmallow) {
|
||||||
toggleMarshmallowFlashlight(false);
|
toggleMarshmallowFlashlight(false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user