This repository was archived by the owner on May 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
android/app/src/main/java/com/microsoft/codepush/react Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 19
19
import com .facebook .react .bridge .ReadableMap ;
20
20
import com .facebook .react .bridge .WritableMap ;
21
21
import com .facebook .react .modules .core .DeviceEventManagerModule ;
22
- import com .facebook .react .uimanager .ReactChoreographer ;
22
+ import com .facebook .react .modules .core .ChoreographerCompat ;
23
+ import com .facebook .react .modules .core .ReactChoreographer ;
23
24
24
25
import org .json .JSONArray ;
25
26
import org .json .JSONException ;
@@ -254,7 +255,7 @@ public void call(DownloadProgress downloadProgress) {
254
255
getReactApplicationContext ().runOnUiQueueThread (new Runnable () {
255
256
@ Override
256
257
public void run () {
257
- ReactChoreographer .getInstance ().postFrameCallback (ReactChoreographer .CallbackType .TIMERS_EVENTS , new Choreographer .FrameCallback () {
258
+ ReactChoreographer .getInstance ().postFrameCallback (ReactChoreographer .CallbackType .TIMERS_EVENTS , new ChoreographerCompat .FrameCallback () {
258
259
@ Override
259
260
public void doFrame (long frameTimeNanos ) {
260
261
if (!latestDownloadProgress .isCompleted ()) {
You can’t perform that action at this time.
0 commit comments