granularity level: instruction
.class public abstract Lcom/google/android/gms/common/internal/zag;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-base@@18.0.1"
.implements Landroid/content/DialogInterface$OnClickListener;
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static zab(Landroid/app/Activity;Landroid/content/Intent;I)Lcom/google/android/gms/common/internal/zag;
.locals 1
new-instance v0, Lcom/google/android/gms/common/internal/zad;
invoke-direct {v0, p1, p0, p2}, Lcom/google/android/gms/common/internal/zad;-><init>(Landroid/content/Intent;Landroid/app/Activity;I)V
return-object v0
.end method
.method public static zac(Landroidx/fragment/app/Fragment;Landroid/content/Intent;I)Lcom/google/android/gms/common/internal/zag;
.locals 1
new-instance v0, Lcom/google/android/gms/common/internal/zae;
invoke-direct {v0, p1, p0, p2}, Lcom/google/android/gms/common/internal/zae;-><init>(Landroid/content/Intent;Landroidx/fragment/app/Fragment;I)V
return-object v0
.end method
.method public static zad(Lcom/google/android/gms/common/api/internal/LifecycleFragment;Landroid/content/Intent;I)Lcom/google/android/gms/common/internal/zag;
.locals 1
new-instance p2, Lcom/google/android/gms/common/internal/zaf;
const/4 v0, 0x2
invoke-direct {p2, p1, p0, v0}, Lcom/google/android/gms/common/internal/zaf;-><init>(Landroid/content/Intent;Lcom/google/android/gms/common/api/internal/LifecycleFragment;I)V
return-object p2
.end method
.method public final onClick(Landroid/content/DialogInterface;I)V
.locals 4
:try_start_0
invoke-virtual {p0}, Lcom/google/android/gms/common/internal/zag;->zaa()V
:try_end_0
.catch Landroid/content/ActivityNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V
return-void
:catchall_0
move-exception p2
goto :goto_0
:catch_0
move-exception p2
:try_start_1
const-string v0, "Failed to start resolution intent."
const-string v1, "Failed to start resolution intent. This may occur when resolving Google Play services connection issues on emulators with Google APIs but not Google Play Store."
sget-object v2, Landroid/os/Build;->FINGERPRINT:Ljava/lang/String;
const-string v3, "generic"
invoke-virtual {v2, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result v2
const/4 v3, 0x1
if-ne v3, v2, :cond_0
move-object v0, v1
:cond_0
const-string v1, "DialogRedirect"
invoke-static {v1, v0, p2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V
return-void
:goto_0
invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V
throw p2
.end method
.method protected abstract zaa()V
.end method