Files
rr3-apk/smali_classes2/com/google/android/gms/auth/GoogleAuthUtil.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
2026-02-18 16:13:44 -08:00

856 lines
26 KiB
Smali

.class public final Lcom/google/android/gms/auth/GoogleAuthUtil;
.super Lcom/google/android/gms/auth/zzl;
.source "SourceFile"
# static fields
.field public static final CHANGE_TYPE_ACCOUNT_ADDED:I = 0x1
.field public static final CHANGE_TYPE_ACCOUNT_REMOVED:I = 0x2
.field public static final CHANGE_TYPE_ACCOUNT_RENAMED_FROM:I = 0x3
.field public static final CHANGE_TYPE_ACCOUNT_RENAMED_TO:I = 0x4
.field public static final GOOGLE_ACCOUNT_TYPE:Ljava/lang/String; = "com.google"
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
.field public static final KEY_SUPPRESS_PROGRESS_SCREEN:Ljava/lang/String; = "suppressProgressScreen"
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
.field public static final WORK_ACCOUNT_TYPE:Ljava/lang/String; = "com.google.work"
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Lcom/google/android/gms/auth/zzl;-><init>()V
return-void
.end method
.method public static clearToken(Landroid/content/Context;Ljava/lang/String;)V
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/android/gms/auth/GooglePlayServicesAvailabilityException;,
Lcom/google/android/gms/auth/GoogleAuthException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-static {p0, p1}, Lcom/google/android/gms/auth/zzl;->clearToken(Landroid/content/Context;Ljava/lang/String;)V
return-void
.end method
.method public static getAccountChangeEvents(Landroid/content/Context;ILjava/lang/String;)Ljava/util/List;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroid/content/Context;",
"I",
"Ljava/lang/String;",
")",
"Ljava/util/List<",
"Lcom/google/android/gms/auth/AccountChangeEvent;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/android/gms/auth/GoogleAuthException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-static {p0, p1, p2}, Lcom/google/android/gms/auth/zzl;->getAccountChangeEvents(Landroid/content/Context;ILjava/lang/String;)Ljava/util/List;
move-result-object p0
return-object p0
.end method
.method public static getAccountId(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/android/gms/auth/GoogleAuthException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-static {p0, p1}, Lcom/google/android/gms/auth/zzl;->getAccountId(Landroid/content/Context;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getToken(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;)Ljava/lang/String;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/accounts/Account;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableAuthException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
.line 1
invoke-static {p0, p1, p2}, Lcom/google/android/gms/auth/zzl;->getToken(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getToken(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/accounts/Account;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableAuthException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
.line 2
invoke-static {p0, p1, p2, p3}, Lcom/google/android/gms/auth/zzl;->getToken(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getToken(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableAuthException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 3
invoke-static {p0, p1, p2}, Lcom/google/android/gms/auth/zzl;->getToken(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getToken(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableAuthException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 4
invoke-static {p0, p1, p2, p3}, Lcom/google/android/gms/auth/zzl;->getToken(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getTokenWithNotification(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
.locals 6
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/accounts/Account;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableNotifiedException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
if-nez p3, :cond_0
.line 1
new-instance p3, Landroid/os/Bundle;
invoke-direct {p3}, Landroid/os/Bundle;-><init>()V
:cond_0
move-object v3, p3
const-string p3, "handle_notification"
const/4 v0, 0x1
.line 2
invoke-virtual {v3, p3, v0}, Landroid/os/BaseBundle;->putBoolean(Ljava/lang/String;Z)V
const-wide/16 v4, 0x0
move-object v0, p0
move-object v1, p1
move-object v2, p2
.line 3
invoke-static/range {v0 .. v5}, Lcom/google/android/gms/auth/GoogleAuthUtil;->zzg(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;J)Lcom/google/android/gms/auth/TokenData;
move-result-object p0
.line 4
invoke-virtual {p0}, Lcom/google/android/gms/auth/TokenData;->zza()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getTokenWithNotification(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;Landroid/content/Intent;)Ljava/lang/String;
.locals 6
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/accounts/Account;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableNotifiedException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
.line 5
invoke-static {p4}, Lcom/google/android/gms/auth/zzl;->zzf(Landroid/content/Intent;)V
if-nez p3, :cond_0
new-instance p3, Landroid/os/Bundle;
.line 6
invoke-direct {p3}, Landroid/os/Bundle;-><init>()V
:cond_0
move-object v3, p3
const-string p3, "callback_intent"
.line 7
invoke-virtual {v3, p3, p4}, Landroid/os/Bundle;->putParcelable(Ljava/lang/String;Landroid/os/Parcelable;)V
const-string p3, "handle_notification"
const/4 p4, 0x1
.line 8
invoke-virtual {v3, p3, p4}, Landroid/os/BaseBundle;->putBoolean(Ljava/lang/String;Z)V
const-wide/16 v4, 0x0
move-object v0, p0
move-object v1, p1
move-object v2, p2
.line 9
invoke-static/range {v0 .. v5}, Lcom/google/android/gms/auth/GoogleAuthUtil;->zzg(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;J)Lcom/google/android/gms/auth/TokenData;
move-result-object p0
.line 10
invoke-virtual {p0}, Lcom/google/android/gms/auth/TokenData;->zza()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getTokenWithNotification(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
.locals 6
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/accounts/Account;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p5 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableNotifiedException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
const-string v0, "Authority cannot be empty or null."
.line 11
invoke-static {p4, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotEmpty(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
if-nez p3, :cond_0
new-instance p3, Landroid/os/Bundle;
.line 12
invoke-direct {p3}, Landroid/os/Bundle;-><init>()V
:cond_0
move-object v3, p3
if-nez p5, :cond_1
new-instance p5, Landroid/os/Bundle;
.line 13
invoke-direct {p5}, Landroid/os/Bundle;-><init>()V
.line 14
:cond_1
invoke-static {p5}, Landroid/content/ContentResolver;->validateSyncExtrasBundle(Landroid/os/Bundle;)V
const-string p3, "authority"
.line 15
invoke-virtual {v3, p3, p4}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
const-string p3, "sync_extras"
.line 16
invoke-virtual {v3, p3, p5}, Landroid/os/Bundle;->putBundle(Ljava/lang/String;Landroid/os/Bundle;)V
const-string p3, "handle_notification"
const/4 p4, 0x1
.line 17
invoke-virtual {v3, p3, p4}, Landroid/os/BaseBundle;->putBoolean(Ljava/lang/String;Z)V
const-wide/16 v4, 0x0
move-object v0, p0
move-object v1, p1
move-object v2, p2
.line 18
invoke-static/range {v0 .. v5}, Lcom/google/android/gms/auth/GoogleAuthUtil;->zzg(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;J)Lcom/google/android/gms/auth/TokenData;
move-result-object p0
.line 19
invoke-virtual {p0}, Lcom/google/android/gms/auth/TokenData;->zza()Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getTokenWithNotification(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
.locals 2
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableNotifiedException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 20
new-instance v0, Landroid/accounts/Account;
const-string v1, "com.google"
invoke-direct {v0, p1, v1}, Landroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;)V
.line 21
invoke-static {p0, v0, p2, p3}, Lcom/google/android/gms/auth/GoogleAuthUtil;->getTokenWithNotification(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getTokenWithNotification(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;Landroid/content/Intent;)Ljava/lang/String;
.locals 2
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableNotifiedException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 22
new-instance v0, Landroid/accounts/Account;
const-string v1, "com.google"
invoke-direct {v0, p1, v1}, Landroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;)V
.line 23
invoke-static {p0, v0, p2, p3, p4}, Lcom/google/android/gms/auth/GoogleAuthUtil;->getTokenWithNotification(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;Landroid/content/Intent;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static getTokenWithNotification(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Landroid/os/Bundle;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
.locals 6
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p5 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/UserRecoverableNotifiedException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 24
new-instance v1, Landroid/accounts/Account;
const-string v0, "com.google"
invoke-direct {v1, p1, v0}, Landroid/accounts/Account;-><init>(Ljava/lang/String;Ljava/lang/String;)V
move-object v0, p0
move-object v2, p2
move-object v3, p3
move-object v4, p4
move-object v5, p5
.line 25
invoke-static/range {v0 .. v5}, Lcom/google/android/gms/auth/GoogleAuthUtil;->getTokenWithNotification(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;Ljava/lang/String;Landroid/os/Bundle;)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method public static invalidateToken(Landroid/content/Context;Ljava/lang/String;)V
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RequiresPermission;
value = "android.permission.MANAGE_ACCOUNTS"
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-static {p0, p1}, Lcom/google/android/gms/auth/zzl;->invalidateToken(Landroid/content/Context;Ljava/lang/String;)V
return-void
.end method
.method public static removeAccount(Landroid/content/Context;Landroid/accounts/Account;)Landroid/os/Bundle;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/accounts/Account;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/TargetApi;
value = 0x17
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/android/gms/auth/GoogleAuthException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-static {p0, p1}, Lcom/google/android/gms/auth/zzl;->removeAccount(Landroid/content/Context;Landroid/accounts/Account;)Landroid/os/Bundle;
move-result-object p0
return-object p0
.end method
.method public static requestGoogleAccountsAccess(Landroid/content/Context;)Ljava/lang/Boolean;
.locals 0
.param p0 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroid/annotation/TargetApi;
value = 0x1a
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/android/gms/auth/GoogleAuthException;,
Ljava/io/IOException;
}
.end annotation
.line 1
invoke-static {p0}, Lcom/google/android/gms/auth/zzl;->requestGoogleAccountsAccess(Landroid/content/Context;)Ljava/lang/Boolean;
move-result-object p0
return-object p0
.end method
.method private static zzg(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;J)Lcom/google/android/gms/auth/TokenData;
.locals 8
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lcom/google/android/gms/auth/GoogleAuthException;
}
.end annotation
const-string p4, "User intervention required. Notification has been pushed."
const-string p5, "Error when getting token"
const-string v0, "GoogleAuthUtil"
const-wide/16 v5, 0x0
const/4 v7, 0x0
move-object v1, p0
move-object v2, p1
move-object v3, p2
move-object v4, p3
.line 1
:try_start_0
invoke-static/range {v1 .. v7}, Lcom/google/android/gms/auth/zzl;->zza(Landroid/content/Context;Landroid/accounts/Account;Ljava/lang/String;Landroid/os/Bundle;JLjava/util/concurrent/Executor;)Lcom/google/android/gms/auth/TokenData;
move-result-object p1
.line 2
invoke-static {p0}, Lcom/google/android/gms/common/GooglePlayServicesUtilLight;->cancelAvailabilityErrorNotifications(Landroid/content/Context;)V
:try_end_0
.catch Lcom/google/android/gms/auth/GooglePlayServicesAvailabilityException; {:try_start_0 .. :try_end_0} :catch_1
.catch Lcom/google/android/gms/auth/UserRecoverableAuthException; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
:catch_0
move-exception p1
goto :goto_0
:catch_1
move-exception p1
goto :goto_1
.line 3
:goto_0
invoke-static {p0}, Lcom/google/android/gms/common/GooglePlayServicesUtilLight;->cancelAvailabilityErrorNotifications(Landroid/content/Context;)V
.line 4
invoke-static {v0, p5, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
new-instance p0, Lcom/google/android/gms/auth/UserRecoverableNotifiedException;
.line 5
invoke-direct {p0, p4, p1}, Lcom/google/android/gms/auth/UserRecoverableNotifiedException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw p0
.line 6
:goto_1
invoke-virtual {p1}, Lcom/google/android/gms/auth/GooglePlayServicesAvailabilityException;->getConnectionStatusCode()I
move-result p2
.line 7
invoke-static {p2, p0}, Lcom/google/android/gms/common/GooglePlayServicesUtil;->showErrorNotification(ILandroid/content/Context;)V
.line 8
invoke-static {v0, p5, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
new-instance p0, Lcom/google/android/gms/auth/UserRecoverableNotifiedException;
.line 9
invoke-direct {p0, p4, p1}, Lcom/google/android/gms/auth/UserRecoverableNotifiedException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw p0
.end method