File tree Expand file tree Collapse file tree
android/app/src/main/java/com/appzung/codepush/react Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55import android .os .AsyncTask ;
66import android .os .Handler ;
77import android .os .Looper ;
8+ import android .view .Choreographer ;
89import android .view .View ;
910
1011import androidx .annotation .OptIn ;
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 ;
@@ -462,7 +462,7 @@ public void call(DownloadProgress downloadProgress) {
462462 getReactApplicationContext ().runOnUiQueueThread (new Runnable () {
463463 @ Override
464464 public void run () {
465- ReactChoreographer .getInstance ().postFrameCallback (ReactChoreographer .CallbackType .TIMERS_EVENTS , new ChoreographerCompat .FrameCallback () {
465+ ReactChoreographer .getInstance ().postFrameCallback (ReactChoreographer .CallbackType .TIMERS_EVENTS , new Choreographer .FrameCallback () {
466466 @ Override
467467 public void doFrame (long frameTimeNanos ) {
468468 if (!latestDownloadProgress .isCompleted ()) {
You can’t perform that action at this time.
0 commit comments