Files
rr3-apk/decompiled/sources/com/applovin/impl/yl.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

98 lines
2.8 KiB
Java

package com.applovin.impl;
import android.content.Context;
import com.applovin.impl.sdk.utils.CollectionUtils;
import com.applovin.impl.sdk.utils.StringUtils;
import com.applovin.impl.tm;
import com.facebook.share.internal.ShareConstants;
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ScheduledFuture;
import java.util.concurrent.TimeUnit;
/* loaded from: classes.dex */
public abstract class yl implements Runnable {
protected final com.applovin.impl.sdk.j a;
protected final String b;
protected final com.applovin.impl.sdk.n c;
private final Context d;
private String f;
private boolean g;
public Context a() {
return this.d;
}
public void a(String str) {
this.f = str;
}
public void a(boolean z) {
this.g = z;
}
public com.applovin.impl.sdk.j b() {
return this.a;
}
public String c() {
return this.b;
}
public boolean d() {
return this.g;
}
public yl(String str, com.applovin.impl.sdk.j jVar) {
this(str, jVar, false, null);
}
public yl(String str, com.applovin.impl.sdk.j jVar, String str2) {
this(str, jVar, false, str2);
}
public ScheduledFuture b(final Thread thread, final long j) {
if (j <= 0) {
return null;
}
return this.a.j0().b(new jn(this.a, "timeout:" + this.b, new Runnable() { // from class: com.applovin.impl.yl$$ExternalSyntheticLambda0
@Override // java.lang.Runnable
public final void run() {
yl.this.a(thread, j);
}
}), tm.b.TIMEOUT, j);
}
/* JADX INFO: Access modifiers changed from: private */
public /* synthetic */ void a(Thread thread, long j) {
HashMap<String, String> hashMap = CollectionUtils.hashMap("name", thread.getState().name());
if (StringUtils.isValidString(this.f)) {
hashMap.put("details", this.f);
}
this.a.E().a(la.R, this.b, (Map) hashMap);
if (com.applovin.impl.sdk.n.a()) {
this.c.k(this.b, "Task has been executing for over " + TimeUnit.MILLISECONDS.toSeconds(j) + " seconds");
}
}
public yl(String str, com.applovin.impl.sdk.j jVar, boolean z) {
this(str, jVar, z, null);
}
public yl(String str, com.applovin.impl.sdk.j jVar, boolean z, String str2) {
this.b = str;
this.a = jVar;
this.c = jVar.J();
this.d = com.applovin.impl.sdk.j.l();
this.g = z;
this.f = str2;
}
public void a(Throwable th) {
Map map = CollectionUtils.map(ShareConstants.FEED_SOURCE_PARAM, this.b);
map.put("top_main_method", th.toString());
map.put("details", StringUtils.emptyIfNull(this.f));
this.a.E().a(la.Q, map);
}
}