File tree Expand file tree Collapse file tree
android/app/src/main/java/com/microsoft/codepush/react Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66import android .os .Handler ;
77import android .os .Looper ;
88import android .view .View ;
9+ import android .view .Choreographer ;
910
1011import androidx .annotation .OptIn ;
1112
2425import com .facebook .react .bridge .WritableMap ;
2526import com .facebook .react .common .annotations .UnstableReactNativeAPI ;
2627import com .facebook .react .devsupport .interfaces .DevSupportManager ;
27- import com .facebook .react .modules .core .ChoreographerCompat ;
2828import com .facebook .react .modules .core .DeviceEventManagerModule ;
2929import com .facebook .react .modules .core .ReactChoreographer ;
3030import com .facebook .react .modules .debug .interfaces .DeveloperSettings ;
@@ -434,7 +434,7 @@ public void call(DownloadProgress downloadProgress) {
434434 getReactApplicationContext ().runOnUiQueueThread (new Runnable () {
435435 @ Override
436436 public void run () {
437- ReactChoreographer .getInstance ().postFrameCallback (ReactChoreographer .CallbackType .TIMERS_EVENTS , new ChoreographerCompat .FrameCallback () {
437+ ReactChoreographer .getInstance ().postFrameCallback (ReactChoreographer .CallbackType .TIMERS_EVENTS , new Choreographer .FrameCallback () {
438438 @ Override
439439 public void doFrame (long frameTimeNanos ) {
440440 if (!latestDownloadProgress .isCompleted ()) {
You can’t perform that action at this time.
0 commit comments