fix: Fix lint error for missing JNI func

This commit is contained in:
Marc Rousavy 2021-07-07 13:15:32 +02:00
parent 339b470ca5
commit 1730ce8980

View File

@ -58,6 +58,7 @@ import kotlin.math.min
// TODO: takePhoto() enableAutoDistortionCorrection
// TODO: takePhoto() return with jsi::Value Image reference for faster capture
@Suppress("KotlinJniMissingFunction") // I use fbjni, Android Studio is not smart enough to realize that.
@SuppressLint("ClickableViewAccessibility") // suppresses the warning that the pinch to zoom gesture is not accessible
class CameraView(context: Context) : FrameLayout(context), LifecycleOwner {
// react properties