54 lines
1.7 KiB
Java
54 lines
1.7 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 x implements Runnable {
|
|
public final /* synthetic */ String i;
|
|
public final /* synthetic */ long j;
|
|
public final /* synthetic */ a k;
|
|
|
|
public x(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);
|
|
Integer num = aVar.f1132c.get(str);
|
|
if (num != null) {
|
|
i7 w = aVar.q().w(false);
|
|
int intValue = num.intValue() - 1;
|
|
if (intValue == 0) {
|
|
aVar.f1132c.remove(str);
|
|
Long l = aVar.b.get(str);
|
|
if (l == null) {
|
|
aVar.g().f.a("First ad unit exposure time was never set");
|
|
} else {
|
|
aVar.b.remove(str);
|
|
aVar.w(str, j - l.longValue(), w);
|
|
}
|
|
if (aVar.f1132c.isEmpty()) {
|
|
long j2 = aVar.d;
|
|
if (j2 == 0) {
|
|
aVar.g().f.a("First ad exposure time was never set");
|
|
return;
|
|
}
|
|
aVar.u(j - j2, w);
|
|
aVar.d = 0;
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
aVar.f1132c.put(str, Integer.valueOf(intValue));
|
|
return;
|
|
}
|
|
aVar.g().f.b("Call to endAdUnitExposure for unknown ad unit id", str);
|
|
}
|
|
}
|