30 lines
1.1 KiB
Java
30 lines
1.1 KiB
Java
package com.google.android.gms.measurement.internal;
|
|
|
|
import com.google.android.gms.common.wrappers.PackageManagerWrapper;
|
|
import com.google.android.gms.common.wrappers.Wrappers;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class zzfd {
|
|
final zzfv zza;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public final boolean zza() {
|
|
try {
|
|
PackageManagerWrapper packageManager = Wrappers.packageManager(this.zza.zzau());
|
|
if (packageManager != null) {
|
|
return packageManager.getPackageInfo("com.android.vending", 128).versionCode >= 80837300;
|
|
}
|
|
this.zza.zzay().zzj().zza("Failed to get PackageManager for Install Referrer Play Store compatibility check");
|
|
return false;
|
|
} catch (Exception e) {
|
|
this.zza.zzay().zzj().zzb("Failed to retrieve Play Store version for Install Referrer", e);
|
|
return false;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public zzfd(zzks zzksVar) {
|
|
this.zza = zzksVar.zzq();
|
|
}
|
|
}
|