Files
rr3-apk/decompiled/sources/com/google/android/gms/auth/UserRecoverableAuthException.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

62 lines
2.0 KiB
Java

package com.google.android.gms.auth;
import android.app.PendingIntent;
import android.content.Intent;
import android.util.Log;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.google.android.gms.common.annotation.KeepName;
import com.google.android.gms.common.internal.Preconditions;
@KeepName
/* loaded from: classes2.dex */
public class UserRecoverableAuthException extends GoogleAuthException {
@Nullable
private final Intent zza;
@Nullable
private final PendingIntent zzb;
private final zzn zzc;
public UserRecoverableAuthException(@Nullable String str, @Nullable Intent intent) {
this(str, intent, null, zzn.LEGACY);
}
@NonNull
public static UserRecoverableAuthException zza(@Nullable String str, @NonNull Intent intent, @NonNull PendingIntent pendingIntent) {
Preconditions.checkNotNull(intent);
Preconditions.checkNotNull(pendingIntent);
return new UserRecoverableAuthException(str, intent, pendingIntent, zzn.AUTH_INSTANTIATION);
}
@Nullable
public Intent getIntent() {
Intent intent = this.zza;
if (intent != null) {
return new Intent(intent);
}
int ordinal = this.zzc.ordinal();
if (ordinal == 0) {
Log.w("Auth", "Make sure that an intent was provided to class instantiation.");
return null;
}
if (ordinal == 1) {
Log.e("Auth", "This shouldn't happen. Gms API throwing this exception should support the recovery Intent.");
return null;
}
if (ordinal != 2) {
return null;
}
Log.e("Auth", "this instantiation of UserRecoverableAuthException doesn't support an Intent.");
return null;
}
private UserRecoverableAuthException(@Nullable String str, @Nullable Intent intent, @Nullable PendingIntent pendingIntent, zzn zznVar) {
super(str);
this.zzb = pendingIntent;
this.zza = intent;
this.zzc = (zzn) Preconditions.checkNotNull(zznVar);
}
}