discord-jadx/app/src/main/java/c/c/a/q.java

47 lines
1.4 KiB
Java

package c.c.a;
import c.c.a.b0.c;
import java.util.ArrayList;
import java.util.Iterator;
/* compiled from: LottieTask */
public class q implements Runnable {
public final /* synthetic */ r i;
public q(r rVar) {
this.i = rVar;
}
/* JADX DEBUG: Multi-variable search result rejected for r1v0, resolved type: V */
/* JADX WARN: Multi-variable type inference failed */
@Override // java.lang.Runnable
public void run() {
if (this.i.e != null) {
p<T> pVar = this.i.e;
V v = pVar.a;
if (v != 0) {
r rVar = this.i;
synchronized (rVar) {
Iterator it = new ArrayList(rVar.b).iterator();
while (it.hasNext()) {
((l) it.next()).a(v);
}
}
return;
}
r rVar2 = this.i;
Throwable th = pVar.b;
synchronized (rVar2) {
ArrayList arrayList = new ArrayList(rVar2.f273c);
if (arrayList.isEmpty()) {
c.c("Lottie encountered an error but no failure listener was added:", th);
return;
}
Iterator it2 = arrayList.iterator();
while (it2.hasNext()) {
((l) it2.next()).a(th);
}
}
}
}
}