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 1919import com .facebook .react .bridge .ReadableMap ;
2020import com .facebook .react .bridge .WritableMap ;
2121import 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 ;
2324
2425import org .json .JSONArray ;
2526import org .json .JSONException ;
@@ -254,7 +255,7 @@ public void call(DownloadProgress downloadProgress) {
254255 getReactApplicationContext ().runOnUiQueueThread (new Runnable () {
255256 @ Override
256257 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 () {
258259 @ Override
259260 public void doFrame (long frameTimeNanos ) {
260261 if (!latestDownloadProgress .isCompleted ()) {
You can’t perform that action at this time.
0 commit comments