package com.google.android.gms.internal.gtm; import android.content.Context; import android.content.pm.PackageManager; import com.google.android.gms.common.internal.Preconditions; /* loaded from: classes.dex */ public final class zzku implements zzgz { private final Context zzrm; public zzku(Context context) { this.zzrm = (Context) Preconditions.checkNotNull(context); } @Override // com.google.android.gms.internal.gtm.zzgz public final zzoa zzb(zzfl zzflVar, zzoa... zzoaVarArr) { Preconditions.checkArgument(zzoaVarArr != null); Preconditions.checkArgument(zzoaVarArr.length == 0); try { return new zzoe(Double.valueOf(this.zzrm.getPackageManager().getPackageInfo(this.zzrm.getPackageName(), 0).versionCode)); } catch (PackageManager.NameNotFoundException e) { String packageName = this.zzrm.getPackageName(); String message = e.getMessage(); StringBuilder sb = new StringBuilder(String.valueOf(packageName).length() + 25 + String.valueOf(message).length()); sb.append("Package name "); sb.append(packageName); sb.append(" not found. "); sb.append(message); zzev.zzav(sb.toString()); return zzog.zzaum; } } }