17 lines
575 B
Java
17 lines
575 B
Java
package io.flutter.embedding.engine.dart;
|
|
|
|
import android.os.Handler;
|
|
import android.os.Looper;
|
|
import io.flutter.embedding.engine.dart.DartMessenger;
|
|
import io.flutter.util.HandlerCompat;
|
|
|
|
/* loaded from: classes.dex */
|
|
public class PlatformTaskQueue implements DartMessenger.DartMessengerTaskQueue {
|
|
private final Handler handler = HandlerCompat.createAsyncHandler(Looper.getMainLooper());
|
|
|
|
@Override // io.flutter.embedding.engine.dart.DartMessenger.DartMessengerTaskQueue
|
|
public void dispatch(Runnable runnable) {
|
|
this.handler.post(runnable);
|
|
}
|
|
}
|