44 lines
1.2 KiB
Java
44 lines
1.2 KiB
Java
package o;
|
|
|
|
import android.os.Handler;
|
|
import android.os.HandlerThread;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.fOu, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C13040fOu implements InterfaceC13042fOw {
|
|
private String a;
|
|
private Handler b;
|
|
private int c;
|
|
private HandlerThread e;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public C13040fOu(String str, int i) {
|
|
this.a = str;
|
|
this.c = i;
|
|
}
|
|
|
|
@Override // o.InterfaceC13042fOw
|
|
public final void a() {
|
|
HandlerThread handlerThread = new HandlerThread(this.a, this.c);
|
|
this.e = handlerThread;
|
|
handlerThread.start();
|
|
this.b = new Handler(this.e.getLooper());
|
|
}
|
|
|
|
@Override // o.InterfaceC13042fOw
|
|
public final void e() {
|
|
HandlerThread handlerThread = this.e;
|
|
if (handlerThread != null) {
|
|
handlerThread.quit();
|
|
this.e = null;
|
|
this.b = null;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC13042fOw
|
|
public final void d(C13032fOm c13032fOm, Runnable runnable) {
|
|
this.b.post(runnable);
|
|
}
|
|
}
|