package o;

import com.google.android.gms.common.util.Clock;
import java.util.Objects;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public abstract class Rp0 implements Runnable {
    public final long l;
    public final long m;
    public final boolean n;

    /* renamed from: o, reason: collision with root package name */
    public final /* synthetic */ Wp0 f320o;

    public Rp0(Wp0 wp0, boolean z) {
        Objects.requireNonNull(wp0);
        this.f320o = wp0;
        Clock clock = wp0.a;
        this.l = clock.currentTimeMillis();
        this.m = clock.elapsedRealtime();
        this.n = z;
    }

    public abstract void a();

    @Override // java.lang.Runnable
    public final void run() {
        Wp0 wp0 = this.f320o;
        if (wp0.f) {
            b();
            return;
        }
        try {
            a();
        } catch (Exception e) {
            wp0.b(e, false, this.n);
            b();
        }
    }

    public void b() {
    }
}
