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 6
6
import android .os .Handler ;
7
7
import android .os .Looper ;
8
8
import android .view .View ;
9
+ import android .view .Choreographer ;
9
10
10
11
import androidx .annotation .OptIn ;
11
12
24
25
import com .facebook .react .bridge .WritableMap ;
25
26
import com .facebook .react .common .annotations .UnstableReactNativeAPI ;
26
27
import com .facebook .react .devsupport .interfaces .DevSupportManager ;
27
- import com .facebook .react .modules .core .ChoreographerCompat ;
28
28
import com .facebook .react .modules .core .DeviceEventManagerModule ;
29
29
import com .facebook .react .modules .core .ReactChoreographer ;
30
30
import com .facebook .react .modules .debug .interfaces .DeveloperSettings ;
@@ -440,7 +440,7 @@ public void call(DownloadProgress downloadProgress) {
440
440
getReactApplicationContext ().runOnUiQueueThread (new Runnable () {
441
441
@ Override
442
442
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 () {
444
444
@ Override
445
445
public void doFrame (long frameTimeNanos ) {
446
446
if (!latestDownloadProgress .isCompleted ()) {
You can’t perform that action at this time.
0 commit comments