package com.google.android.gms.internal.measurement; import android.util.Log; /* loaded from: classes3.dex */ final class zzhd extends zzgw { @Override // com.google.android.gms.internal.measurement.zzgw public final /* synthetic */ Boolean zza(Object obj) { if (obj instanceof Boolean) { return (Boolean) obj; } if (obj instanceof String) { String str = (String) obj; if (zzfv.zzc.matcher(str).matches()) { return Boolean.TRUE; } if (zzfv.zzd.matcher(str).matches()) { return Boolean.FALSE; } } Log.e("PhenotypeFlag", "Invalid boolean value for " + super.zzb() + ": " + String.valueOf(obj)); return null; } public zzhd(zzhe zzheVar, String str, Boolean bool, boolean z) { super(zzheVar, str, bool); } }