package o;

import android.app.Activity;
import com.google.android.gms.common.internal.Preconditions;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Tp0 extends Rp0 {
    public final /* synthetic */ int p;
    public final /* synthetic */ Activity q;
    public final /* synthetic */ C0308Lx r;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public Tp0(C0308Lx c0308Lx, Activity activity, int i) {
        super((Wp0) c0308Lx.m, true);
        this.p = i;
        switch (i) {
            case 1:
                this.q = activity;
                this.r = c0308Lx;
                super((Wp0) c0308Lx.m, true);
                break;
            case 2:
                this.q = activity;
                this.r = c0308Lx;
                super((Wp0) c0308Lx.m, true);
                break;
            case 3:
                this.q = activity;
                this.r = c0308Lx;
                super((Wp0) c0308Lx.m, true);
                break;
            case 4:
                this.q = activity;
                this.r = c0308Lx;
                super((Wp0) c0308Lx.m, true);
                break;
            default:
                this.q = activity;
                this.r = c0308Lx;
                break;
        }
    }

    @Override // o.Rp0
    public final void a() {
        switch (this.p) {
            case 0:
                ((InterfaceC1993np0) Preconditions.checkNotNull(((Wp0) this.r.m).g)).onActivityStartedByScionActivityInfo(Ep0.b(this.q), this.m);
                break;
            case 1:
                ((InterfaceC1993np0) Preconditions.checkNotNull(((Wp0) this.r.m).g)).onActivityResumedByScionActivityInfo(Ep0.b(this.q), this.m);
                break;
            case 2:
                ((InterfaceC1993np0) Preconditions.checkNotNull(((Wp0) this.r.m).g)).onActivityPausedByScionActivityInfo(Ep0.b(this.q), this.m);
                break;
            case 3:
                ((InterfaceC1993np0) Preconditions.checkNotNull(((Wp0) this.r.m).g)).onActivityStoppedByScionActivityInfo(Ep0.b(this.q), this.m);
                break;
            default:
                ((InterfaceC1993np0) Preconditions.checkNotNull(((Wp0) this.r.m).g)).onActivityDestroyedByScionActivityInfo(Ep0.b(this.q), this.m);
                break;
        }
    }
}
