discord-jadx/app/src/main/java/c/i/a/f/i/b/y0.java

37 lines
1.0 KiB
Java

package c.i.a.f.i.b;
import com.airbnb.lottie.parser.AnimatableValueParser;
/* compiled from: com.google.android.gms:play-services-measurement-impl@@18.0.0 */
public final class y0 implements Runnable {
public final /* synthetic */ String i;
public final /* synthetic */ long j;
public final /* synthetic */ a k;
public y0(a aVar, String str, long j) {
this.k = aVar;
this.i = str;
this.j = j;
}
@Override // java.lang.Runnable
public final void run() {
a aVar = this.k;
String str = this.i;
long j = this.j;
aVar.b();
AnimatableValueParser.w(str);
if (aVar.f1132c.isEmpty()) {
aVar.d = j;
}
Integer num = aVar.f1132c.get(str);
if (num != null) {
aVar.f1132c.put(str, Integer.valueOf(num.intValue() + 1));
} else if (aVar.f1132c.size() >= 100) {
aVar.g().i.a("Too many ads visible");
} else {
aVar.f1132c.put(str, 1);
aVar.b.put(str, Long.valueOf(j));
}
}
}