Files
rr3-apk/decompiled-community/sources/com/google/android/gms/auth/UserRecoverableAuthException.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -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);
}
}