File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
android/app/src/main/java/com/microsoft/codepush/react Expand file tree Collapse file tree 1 file changed +2
-2
lines changed 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 ;
@@ -440,7 +440,7 @@ public void call(DownloadProgress downloadProgress) {
440440 getReactApplicationContext ().runOnUiQueueThread (new Runnable () {
441441 @ Override
442442 public void run () {
443- ReactChoreographer .getInstance ().postFrameCallback (ReactChoreographer .CallbackType .TIMERS_EVENTS , new ChoreographerCompat .FrameCallback () {
443+ ReactChoreographer .getInstance ().postFrameCallback (ReactChoreographer .CallbackType .TIMERS_EVENTS , new Choreographer .FrameCallback () {
444444 @ Override
445445 public void doFrame (long frameTimeNanos ) {
446446 if (!latestDownloadProgress .isCompleted ()) {
You can’t perform that action at this time.
0 commit comments