From 5fb594ce6bf5de5030428851ecb4705b07348ee7 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Mon, 3 Jul 2023 22:32:08 +0200 Subject: [PATCH] fix: Fix Worklets imports --- android/src/main/cpp/FrameHostObject.cpp | 7 +++++-- android/src/main/cpp/FrameProcessorRuntimeManager.cpp | 4 ++-- android/src/main/cpp/FrameProcessorRuntimeManager.h | 4 ++-- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/android/src/main/cpp/FrameHostObject.cpp b/android/src/main/cpp/FrameHostObject.cpp index 282c264..60b367a 100644 --- a/android/src/main/cpp/FrameHostObject.cpp +++ b/android/src/main/cpp/FrameHostObject.cpp @@ -3,13 +3,16 @@ // #include "FrameHostObject.h" + #include #include #include + +#include +#include "JSITypedArray.h" + #include #include -#include -#include "JSITypedArray.h" namespace vision { diff --git a/android/src/main/cpp/FrameProcessorRuntimeManager.cpp b/android/src/main/cpp/FrameProcessorRuntimeManager.cpp index 5ec9171..412006e 100644 --- a/android/src/main/cpp/FrameProcessorRuntimeManager.cpp +++ b/android/src/main/cpp/FrameProcessorRuntimeManager.cpp @@ -7,8 +7,8 @@ #include #include #include -#include -#include +#include +#include #include "CameraView.h" #include "FrameHostObject.h" diff --git a/android/src/main/cpp/FrameProcessorRuntimeManager.h b/android/src/main/cpp/FrameProcessorRuntimeManager.h index 1126baa..450670e 100644 --- a/android/src/main/cpp/FrameProcessorRuntimeManager.h +++ b/android/src/main/cpp/FrameProcessorRuntimeManager.h @@ -6,10 +6,10 @@ #include #include -#include #include #include -#include +#include +#include #include "CameraView.h" #include "VisionCameraScheduler.h"