package o;

import android.os.Build;
import android.os.Handler;
import android.os.Looper;
import androidx.activity.ComponentActivity;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.vj, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final /* synthetic */ class C2739vj implements NC {
    public final /* synthetic */ int l;
    public final /* synthetic */ ComponentActivity m;

    public /* synthetic */ C2739vj(ComponentActivity componentActivity, int i) {
        this.l = i;
        this.m = componentActivity;
    }

    @Override // o.NC
    public final Object a() {
        int i = this.l;
        int i2 = 0;
        ComponentActivity componentActivity = this.m;
        switch (i) {
            case 0:
                int i3 = ComponentActivity.l;
                componentActivity.reportFullyDrawn();
                return Oh0.a;
            case 1:
                int i4 = ComponentActivity.l;
                return new MC(new C2739vj(componentActivity, i2));
            case 2:
                int i5 = ComponentActivity.l;
                C0666Zr c0666Zr = new C0666Zr();
                componentActivity.getNavigationEventDispatcher().a(c0666Zr);
                return c0666Zr;
            case 3:
                int i6 = ComponentActivity.l;
                return new C2020o40(componentActivity.getApplication(), componentActivity, componentActivity.getIntent() != null ? componentActivity.getIntent().getExtras() : null);
            default:
                int i7 = ComponentActivity.l;
                ET et = new ET(new RunnableC2644uj(componentActivity, 0));
                if (Build.VERSION.SDK_INT >= 33) {
                    if (F3.c(Looper.myLooper(), Looper.getMainLooper())) {
                        componentActivity.getLifecycle().a(new C2834wj(i2, et, componentActivity));
                    } else {
                        new Handler(Looper.getMainLooper()).post(new O3(3, componentActivity, et));
                    }
                }
                return et;
        }
    }
}
