- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
61 lines
1.3 KiB
Java
61 lines
1.3 KiB
Java
package com.ironsource;
|
|
|
|
import android.os.Handler;
|
|
import android.os.HandlerThread;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class is extends Thread {
|
|
private static is b;
|
|
private a a;
|
|
|
|
public class a extends HandlerThread {
|
|
private Handler a;
|
|
|
|
public a(String str) {
|
|
super(str);
|
|
setUncaughtExceptionHandler(new com.ironsource.mediationsdk.logger.d());
|
|
}
|
|
|
|
public Handler a() {
|
|
return this.a;
|
|
}
|
|
|
|
public void b() {
|
|
this.a = new Handler(getLooper());
|
|
}
|
|
}
|
|
|
|
private is() {
|
|
a aVar = new a(getClass().getSimpleName());
|
|
this.a = aVar;
|
|
aVar.start();
|
|
this.a.b();
|
|
}
|
|
|
|
public static synchronized is a() {
|
|
is isVar;
|
|
synchronized (is.class) {
|
|
try {
|
|
if (b == null) {
|
|
b = new is();
|
|
}
|
|
isVar = b;
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
return isVar;
|
|
}
|
|
|
|
public synchronized void a(Runnable runnable) {
|
|
a aVar = this.a;
|
|
if (aVar == null) {
|
|
return;
|
|
}
|
|
Handler a2 = aVar.a();
|
|
if (a2 != null) {
|
|
a2.post(runnable);
|
|
}
|
|
}
|
|
}
|