package com.google.android.gms.flags.impl; import android.content.SharedPreferences; import android.util.Log; /* loaded from: classes2.dex */ public final class zzd extends zza { public static Integer zza(SharedPreferences sharedPreferences, String str, Integer num) { try { return (Integer) com.google.android.gms.internal.flags.zze.zza(new zze(sharedPreferences, str, num)); } catch (Exception e) { String valueOf = String.valueOf(e.getMessage()); Log.w("FlagDataUtils", valueOf.length() != 0 ? "Flag value not available, returning default: ".concat(valueOf) : new String("Flag value not available, returning default: ")); return num; } } }