what-the-bank/sources/com/google/firebase/auth/internal/zzbm.java

43 lines
1.3 KiB
Java

package com.google.firebase.auth.internal;
import android.content.Context;
import android.content.SharedPreferences;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.common.util.DefaultClock;
import com.google.firebase.auth.FirebaseAuth;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
/* loaded from: classes2.dex */
public final class zzbm {
private static final zzbm zza = new zzbm();
private final zzbd zzb;
private final zzax zzc;
private zzbm() {
zzbd zzc = zzbd.zzc();
zzax zza2 = zzax.zza();
this.zzb = zzc;
this.zzc = zza2;
}
public final void zzd(Context context) {
this.zzb.zzd(context);
}
public final void zze(FirebaseAuth firebaseAuth) {
this.zzb.zze(firebaseAuth);
}
public final void zzf(Context context, Status status) {
SharedPreferences.Editor edit = context.getSharedPreferences("com.google.firebase.auth.internal.ProcessDeathHelper", 0).edit();
edit.putInt(HiAnalyticsConstant.HaKey.BI_KEY_RESULT, status.getStatusCode());
edit.putString("statusMessage", status.getStatusMessage());
edit.putLong("timestamp", DefaultClock.getInstance().currentTimeMillis());
edit.commit();
}
public static zzbm zzc() {
return zza;
}
}