granularity level: instruction
.class final Lcom/google/android/gms/common/api/internal/zao;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-base@@18.0.1"
.implements Ljava/lang/Runnable;
.field final synthetic zaa:Lcom/google/android/gms/common/api/internal/zap;
.field private final zab:Lcom/google/android/gms/common/api/internal/zam;
.method constructor <init>(Lcom/google/android/gms/common/api/internal/zap;Lcom/google/android/gms/common/api/internal/zam;)V
.locals 0
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lcom/google/android/gms/common/api/internal/zao;->zab:Lcom/google/android/gms/common/api/internal/zam;
return-void
.end method
.method public final run()V
.locals 8
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
iget-boolean v0, v0, Lcom/google/android/gms/common/api/internal/zap;->zaa:Z
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zao;->zab:Lcom/google/android/gms/common/api/internal/zam;
invoke-virtual {v0}, Lcom/google/android/gms/common/api/internal/zam;->zab()Lcom/google/android/gms/common/ConnectionResult;
move-result-object v0
invoke-virtual {v0}, Lcom/google/android/gms/common/ConnectionResult;->hasResolution()Z
move-result v1
if-eqz v1, :cond_1
iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
iget-object v1, v1, Lcom/google/android/gms/common/api/internal/zap;->mLifecycleFragment:Lcom/google/android/gms/common/api/internal/LifecycleFragment;
iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
invoke-virtual {v2}, Lcom/google/android/gms/common/api/internal/zap;->getActivity()Landroid/app/Activity;
move-result-object v2
invoke-virtual {v0}, Lcom/google/android/gms/common/ConnectionResult;->getResolution()Landroid/app/PendingIntent;
move-result-object v0
invoke-static {v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/app/PendingIntent;
iget-object v3, p0, Lcom/google/android/gms/common/api/internal/zao;->zab:Lcom/google/android/gms/common/api/internal/zam;
invoke-virtual {v3}, Lcom/google/android/gms/common/api/internal/zam;->zaa()I
move-result v3
const/4 v4, 0x0
invoke-static {v2, v0, v3, v4}, Lcom/google/android/gms/common/api/GoogleApiActivity;->zaa(Landroid/content/Context;Landroid/app/PendingIntent;IZ)Landroid/content/Intent;
move-result-object v0
const/4 v2, 0x1
invoke-interface {v1, v0, v2}, Lcom/google/android/gms/common/api/internal/LifecycleFragment;->startActivityForResult(Landroid/content/Intent;I)V
return-void
:cond_1
iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
iget-object v2, v1, Lcom/google/android/gms/common/api/internal/zap;->zac:Lcom/google/android/gms/common/GoogleApiAvailability;
invoke-virtual {v1}, Lcom/google/android/gms/common/api/internal/zap;->getActivity()Landroid/app/Activity;
move-result-object v1
invoke-virtual {v0}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
move-result v3
const/4 v4, 0x0
invoke-virtual {v2, v1, v3, v4}, Lcom/google/android/gms/common/GoogleApiAvailability;->getErrorResolutionIntent(Landroid/content/Context;ILjava/lang/String;)Landroid/content/Intent;
move-result-object v1
if-eqz v1, :cond_2
iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
iget-object v2, v1, Lcom/google/android/gms/common/api/internal/zap;->zac:Lcom/google/android/gms/common/GoogleApiAvailability;
invoke-virtual {v1}, Lcom/google/android/gms/common/api/internal/zap;->getActivity()Landroid/app/Activity;
move-result-object v3
iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
iget-object v4, v1, Lcom/google/android/gms/common/api/internal/zap;->mLifecycleFragment:Lcom/google/android/gms/common/api/internal/LifecycleFragment;
invoke-virtual {v0}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
move-result v5
const/4 v6, 0x2
iget-object v7, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
invoke-virtual/range {v2 .. v7}, Lcom/google/android/gms/common/GoogleApiAvailability;->zag(Landroid/app/Activity;Lcom/google/android/gms/common/api/internal/LifecycleFragment;IILandroid/content/DialogInterface$OnCancelListener;)Z
return-void
:cond_2
invoke-virtual {v0}, Lcom/google/android/gms/common/ConnectionResult;->getErrorCode()I
move-result v1
const/16 v2, 0x12
if-ne v1, v2, :cond_3
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
iget-object v1, v0, Lcom/google/android/gms/common/api/internal/zap;->zac:Lcom/google/android/gms/common/GoogleApiAvailability;
invoke-virtual {v0}, Lcom/google/android/gms/common/api/internal/zap;->getActivity()Landroid/app/Activity;
move-result-object v0
iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
invoke-virtual {v1, v0, v2}, Lcom/google/android/gms/common/GoogleApiAvailability;->zab(Landroid/app/Activity;Landroid/content/DialogInterface$OnCancelListener;)Landroid/app/Dialog;
move-result-object v0
iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
iget-object v2, v1, Lcom/google/android/gms/common/api/internal/zap;->zac:Lcom/google/android/gms/common/GoogleApiAvailability;
invoke-virtual {v1}, Lcom/google/android/gms/common/api/internal/zap;->getActivity()Landroid/app/Activity;
move-result-object v1
invoke-virtual {v1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;
move-result-object v1
new-instance v3, Lcom/google/android/gms/common/api/internal/zan;
invoke-direct {v3, p0, v0}, Lcom/google/android/gms/common/api/internal/zan;-><init>(Lcom/google/android/gms/common/api/internal/zao;Landroid/app/Dialog;)V
invoke-virtual {v2, v1, v3}, Lcom/google/android/gms/common/GoogleApiAvailability;->zac(Landroid/content/Context;Lcom/google/android/gms/common/api/internal/zabw;)Lcom/google/android/gms/common/api/internal/zabx;
return-void
:cond_3
iget-object v1, p0, Lcom/google/android/gms/common/api/internal/zao;->zaa:Lcom/google/android/gms/common/api/internal/zap;
iget-object v2, p0, Lcom/google/android/gms/common/api/internal/zao;->zab:Lcom/google/android/gms/common/api/internal/zam;
invoke-virtual {v2}, Lcom/google/android/gms/common/api/internal/zam;->zaa()I
move-result v2
invoke-static {v1, v0, v2}, Lcom/google/android/gms/common/api/internal/zap;->zaf(Lcom/google/android/gms/common/api/internal/zap;Lcom/google/android/gms/common/ConnectionResult;I)V
return-void
.end method