- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
57 lines
1.7 KiB
Java
57 lines
1.7 KiB
Java
package com.fyber.inneractive.sdk.player.cache;
|
|
|
|
import com.fyber.inneractive.sdk.network.t;
|
|
import com.fyber.inneractive.sdk.player.cache.c;
|
|
import com.fyber.inneractive.sdk.player.cache.j;
|
|
import com.fyber.inneractive.sdk.util.IAlog;
|
|
import com.fyber.inneractive.sdk.util.n0;
|
|
import java.io.IOException;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class f implements Runnable {
|
|
public final /* synthetic */ j a;
|
|
|
|
public f(j jVar) {
|
|
this.a = jVar;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
try {
|
|
j jVar = this.a;
|
|
c.f b = jVar.b.b(jVar.a());
|
|
j jVar2 = this.a;
|
|
jVar2.c = b;
|
|
if (b == null) {
|
|
c.C0081c a = jVar2.b.a(jVar2.a());
|
|
if (a == null) {
|
|
this.a.n = true;
|
|
}
|
|
if (a != null) {
|
|
j jVar3 = this.a;
|
|
IAlog.e("%s | start | got an editor for %s", jVar3.a, jVar3.a());
|
|
a.a();
|
|
}
|
|
}
|
|
} catch (IOException e) {
|
|
j jVar4 = this.a;
|
|
IAlog.a(String.format("%s | Exception raised starting a new caching process for %s", jVar4.a, jVar4.a()), e, new Object[0]);
|
|
t.a("Exception raised starting a new caching process", e.getMessage(), null, null);
|
|
}
|
|
j jVar5 = this.a;
|
|
if (jVar5.c == null && !jVar5.n) {
|
|
j.d dVar = jVar5.h;
|
|
if (dVar != null) {
|
|
dVar.start();
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
g gVar = new g(jVar5);
|
|
n0 n0Var = jVar5.j;
|
|
if (n0Var != null) {
|
|
n0Var.postAtFrontOfQueue(gVar);
|
|
}
|
|
}
|
|
}
|