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