22 lines
525 B
Java
22 lines
525 B
Java
|
package c.f.d.b;
|
||
|
|
||
|
import android.os.Handler;
|
||
|
import android.os.Looper;
|
||
|
/* compiled from: UiThreadImmediateExecutorService */
|
||
|
public class f extends d {
|
||
|
public static f j;
|
||
|
|
||
|
public f() {
|
||
|
super(new Handler(Looper.getMainLooper()));
|
||
|
}
|
||
|
|
||
|
@Override // c.f.d.b.d, java.util.concurrent.Executor
|
||
|
public void execute(Runnable runnable) {
|
||
|
if (Thread.currentThread() == this.i.getLooper().getThread()) {
|
||
|
runnable.run();
|
||
|
} else {
|
||
|
this.i.post(runnable);
|
||
|
}
|
||
|
}
|
||
|
}
|