From 2c6f9b6ad616ff82cbf01bbebf4585b77c7ca202 Mon Sep 17 00:00:00 2001 From: hoonjoo-park Date: Fri, 25 Jul 2025 18:12:28 +0900 Subject: [PATCH] =?UTF-8?q?[React19]=20refactor:=20react19=EC=97=90?= =?UTF-8?q?=EC=84=9C=20=EC=A0=9C=EA=B1=B0=EB=90=9C=20ChoreographerCompat?= =?UTF-8?q?=20=EB=8C=80=EC=9D=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/microsoft/codepush/react/CodePushNativeModule.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java b/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java index ea63a80..09af755 100644 --- a/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java +++ b/android/app/src/main/java/com/microsoft/codepush/react/CodePushNativeModule.java @@ -6,6 +6,7 @@ import android.os.Handler; import android.os.Looper; import android.view.View; +import android.view.Choreographer; import androidx.annotation.OptIn; @@ -24,7 +25,6 @@ import com.facebook.react.bridge.WritableMap; import com.facebook.react.common.annotations.UnstableReactNativeAPI; import com.facebook.react.devsupport.interfaces.DevSupportManager; -import com.facebook.react.modules.core.ChoreographerCompat; import com.facebook.react.modules.core.DeviceEventManagerModule; import com.facebook.react.modules.core.ReactChoreographer; import com.facebook.react.modules.debug.interfaces.DeveloperSettings; @@ -434,7 +434,7 @@ public void call(DownloadProgress downloadProgress) { getReactApplicationContext().runOnUiQueueThread(new Runnable() { @Override public void run() { - ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new ChoreographerCompat.FrameCallback() { + ReactChoreographer.getInstance().postFrameCallback(ReactChoreographer.CallbackType.TIMERS_EVENTS, new Choreographer.FrameCallback() { @Override public void doFrame(long frameTimeNanos) { if (!latestDownloadProgress.isCompleted()) {