package o;

import android.content.Context;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.os.Build;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.e70, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1073e70 {
    public static final C1073e70 a = new C1073e70();
    public static final C0247Jn b;

    static {
        C2040oJ c2040oJ = new C2040oJ();
        c2040oJ.a(C0978d70.class, C0441Ra.a);
        c2040oJ.a(C1551j70.class, C0467Sa.a);
        c2040oJ.a(C0943cp.class, C0389Pa.a);
        c2040oJ.a(S8.class, C0363Oa.a);
        c2040oJ.a(O2.class, C0337Na.a);
        c2040oJ.a(PY.class, C0415Qa.a);
        c2040oJ.d = true;
        b = new C0247Jn(20, c2040oJ);
    }

    public static S8 a(C0076Cy c0076Cy) throws PackageManager.NameNotFoundException {
        c0076Cy.a();
        Context context = c0076Cy.a;
        String packageName = context.getPackageName();
        PackageInfo packageInfo = context.getPackageManager().getPackageInfo(packageName, 0);
        String strValueOf = Build.VERSION.SDK_INT >= 28 ? String.valueOf(packageInfo.getLongVersionCode()) : String.valueOf(packageInfo.versionCode);
        c0076Cy.a();
        String str = c0076Cy.c.b;
        String str2 = Build.MODEL;
        String str3 = Build.VERSION.RELEASE;
        String str4 = packageInfo.versionName;
        if (str4 == null) {
            str4 = strValueOf;
        }
        String str5 = Build.MANUFACTURER;
        c0076Cy.a();
        PY pyS = IJ.s(context);
        c0076Cy.a();
        return new S8(str, new O2(packageName, str4, strValueOf, pyS, IJ.n(context)));
    }
}
