|
|
@ -36,6 +36,7 @@ import static com.flurgle.camerakit.CameraKit.Constants.FACING_FRONT; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.FLASH_AUTO; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.FLASH_AUTO; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.FLASH_OFF; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.FLASH_OFF; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.FLASH_ON; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.FLASH_ON; |
|
|
|
|
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.FLASH_TORCH; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.METHOD_STANDARD; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.METHOD_STANDARD; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.PERMISSIONS_LAZY; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.PERMISSIONS_LAZY; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.PERMISSIONS_PICTURE; |
|
|
|
import static com.flurgle.camerakit.CameraKit.Constants.PERMISSIONS_PICTURE; |
|
|
@ -406,6 +407,7 @@ public class CameraView extends FrameLayout implements LifecycleObserver { |
|
|
|
break; |
|
|
|
break; |
|
|
|
|
|
|
|
|
|
|
|
case FLASH_AUTO: |
|
|
|
case FLASH_AUTO: |
|
|
|
|
|
|
|
case FLASH_TORCH: |
|
|
|
setFlash(FLASH_OFF); |
|
|
|
setFlash(FLASH_OFF); |
|
|
|
break; |
|
|
|
break; |
|
|
|
} |
|
|
|
} |
|
|
|