do not try disabling the flashlight at resume while strobo is active

This commit is contained in:
tibbi 2016-09-25 13:38:57 +02:00
parent ac96e9b2e5
commit 439023e119
1 changed files with 4 additions and 0 deletions

View File

@ -138,6 +138,10 @@ public class MyCameraImpl {
}
private void disableFlashlight() {
if (mIsStroboscopeRunning) {
return;
}
mIsFlashlightOn = false;
if (mIsMarshmallow) {
toggleMarshmallowFlashlight(false);