package o;

import com.google.android.gms.common.wrappers.PackageManagerWrapper;
import com.google.android.gms.common.wrappers.Wrappers;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.mr0, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C1902mr0 {
    public final Kr0 a;

    public C1902mr0(C1051dv0 c1051dv0) {
        this.a = c1051dv0.l;
    }

    public final boolean a() {
        Kr0 kr0 = this.a;
        try {
            PackageManagerWrapper packageManagerWrapperPackageManager = Wrappers.packageManager(kr0.a);
            if (packageManagerWrapperPackageManager != null) {
                return packageManagerWrapperPackageManager.getPackageInfo("com.android.vending", 128).versionCode >= 80837300;
            }
            Nq0 nq0 = kr0.f;
            Kr0.l(nq0);
            nq0.n.b("Failed to get PackageManager for Install Referrer Play Store compatibility check");
            return false;
        } catch (Exception e) {
            Nq0 nq02 = kr0.f;
            Kr0.l(nq02);
            nq02.n.c(e, "Failed to retrieve Play Store version for Install Referrer");
            return false;
        }
    }
}
