- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
66 lines
2.1 KiB
Java
66 lines
2.1 KiB
Java
package com.ironsource;
|
|
|
|
import com.ironsource.environment.thread.IronSourceThreadManager;
|
|
import com.ironsource.mediationsdk.logger.IronLog;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public interface bf<T> {
|
|
|
|
public static class a<ListenerType> implements bf<ListenerType> {
|
|
private ListenerType a;
|
|
|
|
/* renamed from: com.ironsource.bf$a$a, reason: collision with other inner class name */
|
|
public static final class C0165a extends yp {
|
|
final /* synthetic */ Runnable a;
|
|
|
|
public C0165a(Runnable runnable) {
|
|
this.a = runnable;
|
|
}
|
|
|
|
@Override // com.ironsource.yp
|
|
public void a() {
|
|
this.a.run();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(a aVar, Runnable runnable, boolean z, int i, Object obj) {
|
|
if (obj != null) {
|
|
throw new UnsupportedOperationException("Super calls with default arguments not supported in this target, function: executeOnUIThreadIfConditionMet");
|
|
}
|
|
if ((i & 2) != 0) {
|
|
z = true;
|
|
}
|
|
aVar.a(runnable, z);
|
|
}
|
|
|
|
public final ListenerType a() {
|
|
return this.a;
|
|
}
|
|
|
|
@Override // com.ironsource.bf
|
|
public void a(ListenerType listenertype) {
|
|
this.a = listenertype;
|
|
}
|
|
|
|
public final void a(Runnable runnable, boolean z) {
|
|
Intrinsics.checkNotNullParameter(runnable, "runnable");
|
|
if (z) {
|
|
IronSourceThreadManager.postOnUiThreadTask$default(IronSourceThreadManager.INSTANCE, new C0165a(runnable), 0L, 2, null);
|
|
}
|
|
}
|
|
|
|
public final void a(String instanceId, String message) {
|
|
Intrinsics.checkNotNullParameter(instanceId, "instanceId");
|
|
Intrinsics.checkNotNullParameter(message, "message");
|
|
IronLog.CALLBACK.info(message + " instanceId=" + instanceId);
|
|
}
|
|
|
|
public final void b(ListenerType listenertype) {
|
|
this.a = listenertype;
|
|
}
|
|
}
|
|
|
|
void a(T t);
|
|
}
|