discord-jadx/app/src/main/java/androidx/core/os/HandlerKt.java

55 lines
2.5 KiB
Java
Raw Normal View History

2021-07-24 02:37:17 +00:00
package androidx.core.os;
import android.os.Handler;
import d0.z.d.m;
import kotlin.Unit;
import kotlin.jvm.functions.Function0;
/* compiled from: Handler.kt */
public final class HandlerKt {
public static final Runnable postAtTime(Handler handler, long j, Object obj, Function0<Unit> function0) {
2021-09-21 07:33:49 +00:00
m.checkNotNullParameter(handler, "<this>");
m.checkNotNullParameter(function0, "action");
2021-07-24 02:37:17 +00:00
HandlerKt$postAtTime$runnable$1 handlerKt$postAtTime$runnable$1 = new HandlerKt$postAtTime$runnable$1(function0);
handler.postAtTime(handlerKt$postAtTime$runnable$1, obj, j);
return handlerKt$postAtTime$runnable$1;
}
public static /* synthetic */ Runnable postAtTime$default(Handler handler, long j, Object obj, Function0 function0, int i, Object obj2) {
if ((i & 2) != 0) {
obj = null;
}
2021-09-21 07:33:49 +00:00
m.checkNotNullParameter(handler, "<this>");
m.checkNotNullParameter(function0, "action");
2021-07-24 02:37:17 +00:00
HandlerKt$postAtTime$runnable$1 handlerKt$postAtTime$runnable$1 = new HandlerKt$postAtTime$runnable$1(function0);
handler.postAtTime(handlerKt$postAtTime$runnable$1, obj, j);
return handlerKt$postAtTime$runnable$1;
}
public static final Runnable postDelayed(Handler handler, long j, Object obj, Function0<Unit> function0) {
2021-09-21 07:33:49 +00:00
m.checkNotNullParameter(handler, "<this>");
m.checkNotNullParameter(function0, "action");
2021-07-24 02:37:17 +00:00
HandlerKt$postDelayed$runnable$1 handlerKt$postDelayed$runnable$1 = new HandlerKt$postDelayed$runnable$1(function0);
if (obj == null) {
handler.postDelayed(handlerKt$postDelayed$runnable$1, j);
} else {
HandlerCompat.postDelayed(handler, handlerKt$postDelayed$runnable$1, obj, j);
}
return handlerKt$postDelayed$runnable$1;
}
public static /* synthetic */ Runnable postDelayed$default(Handler handler, long j, Object obj, Function0 function0, int i, Object obj2) {
if ((i & 2) != 0) {
obj = null;
}
2021-09-21 07:33:49 +00:00
m.checkNotNullParameter(handler, "<this>");
m.checkNotNullParameter(function0, "action");
2021-07-24 02:37:17 +00:00
HandlerKt$postDelayed$runnable$1 handlerKt$postDelayed$runnable$1 = new HandlerKt$postDelayed$runnable$1(function0);
if (obj == null) {
handler.postDelayed(handlerKt$postDelayed$runnable$1, j);
} else {
HandlerCompat.postDelayed(handler, handlerKt$postDelayed$runnable$1, obj, j);
}
return handlerKt$postDelayed$runnable$1;
}
}