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…
Reference in New Issue