granularity level: instruction
.class public final Lz/q;
.super Ljava/lang/Object;
.source "SourceFile"
.implements Ly/f;
.implements Ly/g;
.field public final a:Ljava/util/LinkedList;
.field public final b:La0/g;
.field public final c:Lz/a;
.field public final d:Lk/j;
.field public final e:Ljava/util/HashSet;
.field public final f:Ljava/util/HashMap;
.field public final g:I
.field public final h:Lz/a0;
.field public i:Z
.field public final j:Ljava/util/ArrayList;
.field public k:Lx/a;
.field public final synthetic l:Lz/e;
.method public constructor <init>(Lz/e;Ly/e;)V
.locals 9
iput-object p1, p0, Lz/q;->l:Lz/e;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/util/LinkedList;
invoke-direct {v0}, Ljava/util/LinkedList;-><init>()V
iput-object v0, p0, Lz/q;->a:Ljava/util/LinkedList;
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
iput-object v0, p0, Lz/q;->e:Ljava/util/HashSet;
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lz/q;->f:Ljava/util/HashMap;
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lz/q;->j:Ljava/util/ArrayList;
const/4 v0, 0x0
iput-object v0, p0, Lz/q;->k:Lx/a;
iget-object v1, p1, Lz/e;->m:Lh0/d;
invoke-virtual {v1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object v4
invoke-virtual {p2}, Ly/e;->a()Ll/j;
move-result-object v1
invoke-virtual {v1}, Ll/j;->a()La0/d;
move-result-object v5
iget-object v1, p2, Ly/e;->c:Ll/k;
iget-object v1, v1, Ll/k;->b:Ljava/lang/Object;
move-object v2, v1
check-cast v2, Lf0/a;
invoke-static {v2}, Lp0/a;->j(Ljava/lang/Object;)V
iget-object v3, p2, Ly/e;->a:Landroid/content/Context;
iget-object v6, p2, Ly/e;->d:Ly/a;
move-object v7, p0
move-object v8, p0
invoke-virtual/range {v2 .. v8}, Lf0/a;->c(Landroid/content/Context;Landroid/os/Looper;La0/d;Ly/a;Ly/f;Ly/g;)La0/g;
move-result-object v1
iget-object v2, p2, Ly/e;->b:Ljava/lang/String;
if-eqz v2, :cond_0
iput-object v2, v1, La0/g;->r:Ljava/lang/String;
:cond_0
iput-object v1, p0, Lz/q;->b:La0/g;
iget-object v2, p2, Ly/e;->e:Lz/a;
iput-object v2, p0, Lz/q;->c:Lz/a;
new-instance v2, Lk/j;
const/16 v3, 0xb
invoke-direct {v2, v3}, Lk/j;-><init>(I)V
iput-object v2, p0, Lz/q;->d:Lk/j;
iget v2, p2, Ly/e;->f:I
iput v2, p0, Lz/q;->g:I
invoke-interface {v1}, Ly/b;->a()Z
move-result v1
if-eqz v1, :cond_1
iget-object v0, p1, Lz/e;->e:Landroid/content/Context;
iget-object p1, p1, Lz/e;->m:Lh0/d;
new-instance v1, Lz/a0;
invoke-virtual {p2}, Ly/e;->a()Ll/j;
move-result-object p2
invoke-virtual {p2}, Ll/j;->a()La0/d;
move-result-object p2
invoke-direct {v1, v0, p1, p2}, Lz/a0;-><init>(Landroid/content/Context;Lh0/d;La0/d;)V
iput-object v1, p0, Lz/q;->h:Lz/a0;
return-void
:cond_1
iput-object v0, p0, Lz/q;->h:Lz/a0;
return-void
.end method
.method public final a(Lx/a;)V
.locals 1
const/4 v0, 0x0
invoke-virtual {p0, p1, v0}, Lz/q;->p(Lx/a;Ljava/lang/RuntimeException;)V
return-void
.end method
.method public final b(I)V
.locals 2
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v0
iget-object v1, p0, Lz/q;->l:Lz/e;
iget-object v1, v1, Lz/e;->m:Lh0/d;
invoke-virtual {v1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_0
invoke-virtual {p0, p1}, Lz/q;->i(I)V
return-void
:cond_0
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
new-instance v1, Lz/o;
invoke-direct {v1, p0, p1}, Lz/o;-><init>(Lz/q;I)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
return-void
.end method
.method public final c()V
.locals 3
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
move-result-object v0
iget-object v1, p0, Lz/q;->l:Lz/e;
iget-object v1, v1, Lz/e;->m:Lh0/d;
invoke-virtual {v1}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object v1
if-ne v0, v1, :cond_0
invoke-virtual {p0}, Lz/q;->h()V
return-void
:cond_0
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
new-instance v1, Lz/z;
const/4 v2, 0x1
invoke-direct {v1, v2, p0}, Lz/z;-><init>(ILjava/lang/Object;)V
invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
return-void
.end method
.method public final d(Lx/a;)V
.locals 2
iget-object v0, p0, Lz/q;->e:Ljava/util/HashSet;
invoke-virtual {v0}, Ljava/util/HashSet;->iterator()Ljava/util/Iterator;
move-result-object v0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_2
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
invoke-static {v0}, Lc0/b;->d(Ljava/lang/Object;)V
sget-object v0, Lx/a;->e:Lx/a;
invoke-static {p1, v0}, Lf0/a;->i(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_1
iget-object p1, p0, Lz/q;->b:La0/g;
invoke-virtual {p1}, La0/g;->m()Z
move-result v0
if-eqz v0, :cond_0
iget-object p1, p1, La0/g;->b:Lz/j;
if-eqz p1, :cond_0
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "Failed to connect when checking package"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
:goto_0
const/4 p1, 0x0
throw p1
:cond_2
iget-object p1, p0, Lz/q;->e:Ljava/util/HashSet;
invoke-virtual {p1}, Ljava/util/HashSet;->clear()V
return-void
.end method
.method public final e(Lcom/google/android/gms/common/api/Status;)V
.locals 2
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
const/4 v0, 0x0
const/4 v1, 0x0
invoke-virtual {p0, p1, v0, v1}, Lz/q;->f(Lcom/google/android/gms/common/api/Status;Ljava/lang/RuntimeException;Z)V
return-void
.end method
.method public final f(Lcom/google/android/gms/common/api/Status;Ljava/lang/RuntimeException;Z)V
.locals 4
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
const/4 v0, 0x1
const/4 v1, 0x0
if-eqz p1, :cond_0
const/4 v2, 0x0
goto :goto_0
:cond_0
const/4 v2, 0x1
:goto_0
if-eqz p2, :cond_1
const/4 v0, 0x0
:cond_1
if-eq v2, v0, :cond_6
iget-object v0, p0, Lz/q;->a:Ljava/util/LinkedList;
invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v0
:goto_1
:cond_2
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_5
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lz/v;
if-eqz p3, :cond_3
iget v2, v1, Lz/v;->a:I
const/4 v3, 0x2
if-ne v2, v3, :cond_2
:cond_3
if-eqz p1, :cond_4
invoke-virtual {v1, p1}, Lz/v;->c(Lcom/google/android/gms/common/api/Status;)V
goto :goto_2
:cond_4
invoke-virtual {v1, p2}, Lz/v;->d(Ljava/lang/RuntimeException;)V
:goto_2
invoke-interface {v0}, Ljava/util/Iterator;->remove()V
goto :goto_1
:cond_5
return-void
:cond_6
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string p2, "Status XOR exception should be null"
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final g()V
.locals 5
new-instance v0, Ljava/util/ArrayList;
iget-object v1, p0, Lz/q;->a:Ljava/util/LinkedList;
invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(Ljava/util/Collection;)V
invoke-virtual {v0}, Ljava/util/ArrayList;->size()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_2
invoke-virtual {v0, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lz/v;
iget-object v4, p0, Lz/q;->b:La0/g;
invoke-virtual {v4}, La0/g;->m()Z
move-result v4
if-nez v4, :cond_0
goto :goto_1
:cond_0
invoke-virtual {p0, v3}, Lz/q;->l(Lz/v;)Z
move-result v4
if-eqz v4, :cond_1
iget-object v4, p0, Lz/q;->a:Ljava/util/LinkedList;
invoke-virtual {v4, v3}, Ljava/util/LinkedList;->remove(Ljava/lang/Object;)Z
:cond_1
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_2
:goto_1
return-void
.end method
.method public final h()V
.locals 3
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
const/4 v0, 0x0
iput-object v0, p0, Lz/q;->k:Lx/a;
sget-object v1, Lx/a;->e:Lx/a;
invoke-virtual {p0, v1}, Lz/q;->d(Lx/a;)V
invoke-virtual {p0}, Lz/q;->k()V
iget-object v1, p0, Lz/q;->f:Ljava/util/HashMap;
invoke-virtual {v1}, Ljava/util/HashMap;->values()Ljava/util/Collection;
move-result-object v1
invoke-interface {v1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object v1
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-nez v2, :cond_0
invoke-virtual {p0}, Lz/q;->g()V
invoke-virtual {p0}, Lz/q;->j()V
return-void
:cond_0
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
invoke-static {v1}, Lc0/b;->d(Ljava/lang/Object;)V
throw v0
.end method
.method public final i(I)V
.locals 6
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
const/4 v0, 0x0
iput-object v0, p0, Lz/q;->k:Lx/a;
const/4 v1, 0x1
iput-boolean v1, p0, Lz/q;->i:Z
iget-object v2, p0, Lz/q;->d:Lk/j;
iget-object v3, p0, Lz/q;->b:La0/g;
iget-object v3, v3, La0/g;->a:Ljava/lang/String;
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
new-instance v4, Ljava/lang/StringBuilder;
const-string v5, "The connection to Google Play services was lost"
invoke-direct {v4, v5}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
if-ne p1, v1, :cond_0
const-string p1, " due to service disconnection."
goto :goto_0
:cond_0
const/4 v5, 0x3
if-ne p1, v5, :cond_1
const-string p1, " due to dead object exception."
:goto_0
invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_1
if-eqz v3, :cond_2
const-string p1, " Last reason for disconnect: "
invoke-virtual {v4, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v4, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
:cond_2
new-instance p1, Lcom/google/android/gms/common/api/Status;
const/16 v3, 0x14
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
invoke-direct {p1, v3, v4}, Lcom/google/android/gms/common/api/Status;-><init>(ILjava/lang/String;)V
invoke-virtual {v2, v1, p1}, Lk/j;->o(ZLcom/google/android/gms/common/api/Status;)V
iget-object p1, p0, Lz/q;->l:Lz/e;
iget-object p1, p1, Lz/e;->m:Lh0/d;
const/16 v1, 0x9
iget-object v2, p0, Lz/q;->c:Lz/a;
invoke-static {p1, v1, v2}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
move-result-object v1
iget-object v2, p0, Lz/q;->l:Lz/e;
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const-wide/16 v2, 0x1388
invoke-virtual {p1, v1, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
iget-object p1, p0, Lz/q;->l:Lz/e;
iget-object p1, p1, Lz/e;->m:Lh0/d;
const/16 v1, 0xb
iget-object v2, p0, Lz/q;->c:Lz/a;
invoke-static {p1, v1, v2}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
move-result-object v1
iget-object v2, p0, Lz/q;->l:Lz/e;
invoke-virtual {v2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const-wide/32 v2, 0x1d4c0
invoke-virtual {p1, v1, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
iget-object p1, p0, Lz/q;->l:Lz/e;
iget-object p1, p1, Lz/e;->g:Lk/j;
iget-object p1, p1, Lk/j;->b:Ljava/lang/Object;
check-cast p1, Landroid/util/SparseIntArray;
invoke-virtual {p1}, Landroid/util/SparseIntArray;->clear()V
iget-object p1, p0, Lz/q;->f:Ljava/util/HashMap;
invoke-virtual {p1}, Ljava/util/HashMap;->values()Ljava/util/Collection;
move-result-object p1
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p1
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-nez v1, :cond_3
return-void
:cond_3
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object p1
invoke-static {p1}, Lc0/b;->d(Ljava/lang/Object;)V
throw v0
.end method
.method public final j()V
.locals 4
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
iget-object v1, p0, Lz/q;->c:Lz/a;
const/16 v2, 0xc
invoke-virtual {v0, v2, v1}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
iget-object v1, p0, Lz/q;->c:Lz/a;
invoke-virtual {v0, v2, v1}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;
move-result-object v1
iget-object v2, p0, Lz/q;->l:Lz/e;
iget-wide v2, v2, Lz/e;->a:J
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
return-void
.end method
.method public final k()V
.locals 3
iget-boolean v0, p0, Lz/q;->i:Z
if-eqz v0, :cond_0
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
const/16 v1, 0xb
iget-object v2, p0, Lz/q;->c:Lz/a;
invoke-virtual {v0, v1, v2}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
const/16 v1, 0x9
iget-object v2, p0, Lz/q;->c:Lz/a;
invoke-virtual {v0, v1, v2}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
const/4 v0, 0x0
iput-boolean v0, p0, Lz/q;->i:Z
:cond_0
return-void
.end method
.method public final l(Lz/v;)Z
.locals 14
instance-of v0, p1, Lz/v;
const-string v1, "DeadObjectException thrown while running ApiCallRunner."
const/4 v2, 0x1
if-nez v0, :cond_0
iget-object v0, p0, Lz/q;->d:Lk/j;
iget-object v3, p0, Lz/q;->b:La0/g;
invoke-interface {v3}, Ly/b;->a()Z
move-result v3
invoke-virtual {p1, v0, v3}, Lz/v;->f(Lk/j;Z)V
:try_start_0
invoke-virtual {p1, p0}, Lz/v;->e(Lz/q;)V
:try_end_0
.catch Landroid/os/DeadObjectException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
invoke-virtual {p0, v2}, Lz/q;->b(I)V
iget-object p1, p0, Lz/q;->b:La0/g;
invoke-virtual {p1, v1}, La0/g;->e(Ljava/lang/String;)V
:goto_0
return v2
:cond_0
invoke-virtual {p1, p0}, Lz/v;->b(Lz/q;)[Lx/c;
move-result-object v0
const/4 v3, 0x0
const/4 v4, 0x0
if-eqz v0, :cond_6
array-length v5, v0
if-nez v5, :cond_1
goto :goto_4
:cond_1
iget-object v5, p0, Lz/q;->b:La0/g;
iget-object v5, v5, La0/g;->u:La0/b0;
if-nez v5, :cond_2
move-object v5, v3
goto :goto_1
:cond_2
iget-object v5, v5, La0/b0;->b:[Lx/c;
:goto_1
if-nez v5, :cond_3
new-array v5, v4, [Lx/c;
:cond_3
array-length v6, v5
new-instance v7, Lb/b;
invoke-direct {v7, v6}, Lb/b;-><init>(I)V
const/4 v8, 0x0
:goto_2
if-ge v8, v6, :cond_4
aget-object v9, v5, v8
iget-object v10, v9, Lx/c;->a:Ljava/lang/String;
invoke-virtual {v9}, Lx/c;->a()J
move-result-wide v11
invoke-static {v11, v12}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v9
invoke-virtual {v7, v10, v9}, Lb/i;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
add-int/lit8 v8, v8, 0x1
goto :goto_2
:cond_4
array-length v5, v0
const/4 v6, 0x0
:goto_3
if-ge v6, v5, :cond_6
aget-object v8, v0, v6
iget-object v9, v8, Lx/c;->a:Ljava/lang/String;
invoke-virtual {v7, v9}, Lb/i;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v9
check-cast v9, Ljava/lang/Long;
if-eqz v9, :cond_7
invoke-virtual {v9}, Ljava/lang/Long;->longValue()J
move-result-wide v9
invoke-virtual {v8}, Lx/c;->a()J
move-result-wide v11
cmp-long v13, v9, v11
if-gez v13, :cond_5
goto :goto_5
:cond_5
add-int/lit8 v6, v6, 0x1
goto :goto_3
:goto_4
:cond_6
move-object v8, v3
:goto_5
:cond_7
if-nez v8, :cond_8
iget-object v0, p0, Lz/q;->d:Lk/j;
iget-object v3, p0, Lz/q;->b:La0/g;
invoke-interface {v3}, Ly/b;->a()Z
move-result v3
invoke-virtual {p1, v0, v3}, Lz/v;->f(Lk/j;Z)V
:try_start_1
invoke-virtual {p1, p0}, Lz/v;->e(Lz/q;)V
:try_end_1
.catch Landroid/os/DeadObjectException; {:try_start_1 .. :try_end_1} :catch_1
goto :goto_6
:catch_1
invoke-virtual {p0, v2}, Lz/q;->b(I)V
iget-object p1, p0, Lz/q;->b:La0/g;
invoke-virtual {p1, v1}, La0/g;->e(Ljava/lang/String;)V
:goto_6
return v2
:cond_8
iget-object v0, p0, Lz/q;->b:La0/g;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v0
iget-object v1, v8, Lx/c;->a:Ljava/lang/String;
invoke-virtual {v8}, Lx/c;->a()J
move-result-wide v5
invoke-virtual {v0}, Ljava/lang/String;->length()I
move-result v7
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v9
invoke-virtual {v9}, Ljava/lang/String;->length()I
move-result v9
new-instance v10, Ljava/lang/StringBuilder;
add-int/lit8 v7, v7, 0x4d
add-int/2addr v7, v9
invoke-direct {v10, v7}, Ljava/lang/StringBuilder;-><init>(I)V
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, " could not execute call because it requires feature ("
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v10, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v0, ", "
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v10, v5, v6}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
const-string v0, ")."
invoke-virtual {v10, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v10}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
const-string v1, "GoogleApiManager"
invoke-static {v1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-boolean v0, v0, Lz/e;->n:Z
if-eqz v0, :cond_b
invoke-virtual {p1, p0}, Lz/v;->a(Lz/q;)Z
move-result v0
if-eqz v0, :cond_b
new-instance p1, Lz/r;
iget-object v0, p0, Lz/q;->c:Lz/a;
invoke-direct {p1, v0, v8}, Lz/r;-><init>(Lz/a;Lx/c;)V
iget-object v0, p0, Lz/q;->j:Ljava/util/ArrayList;
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->indexOf(Ljava/lang/Object;)I
move-result v0
const-wide/16 v1, 0x1388
const/16 v5, 0xf
if-ltz v0, :cond_9
iget-object p1, p0, Lz/q;->j:Ljava/util/ArrayList;
invoke-virtual {p1, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lz/r;
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-virtual {v0, v5, p1}, Landroid/os/Handler;->removeMessages(ILjava/lang/Object;)V
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0, v5, p1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
move-result-object p1
iget-object v3, p0, Lz/q;->l:Lz/e;
invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
invoke-virtual {v0, p1, v1, v2}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
goto :goto_7
:cond_9
iget-object v0, p0, Lz/q;->j:Ljava/util/ArrayList;
invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0, v5, p1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
move-result-object v5
iget-object v6, p0, Lz/q;->l:Lz/e;
invoke-virtual {v6}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
invoke-virtual {v0, v5, v1, v2}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
const/16 v1, 0x10
invoke-static {v0, v1, p1}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
move-result-object p1
iget-object v1, p0, Lz/q;->l:Lz/e;
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const-wide/32 v1, 0x1d4c0
invoke-virtual {v0, p1, v1, v2}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
new-instance p1, Lx/a;
const/4 v0, 0x2
invoke-direct {p1, v0, v3}, Lx/a;-><init>(ILandroid/app/PendingIntent;)V
invoke-virtual {p0, p1}, Lz/q;->m(Lx/a;)Z
move-result v0
if-nez v0, :cond_a
iget-object v0, p0, Lz/q;->l:Lz/e;
iget v1, p0, Lz/q;->g:I
invoke-virtual {v0, p1, v1}, Lz/e;->b(Lx/a;I)Z
:goto_7
:cond_a
return v4
:cond_b
new-instance v0, Ly/i;
invoke-direct {v0, v8}, Ly/i;-><init>(Lx/c;)V
invoke-virtual {p1, v0}, Lz/v;->d(Ljava/lang/RuntimeException;)V
return v2
.end method
.method public final m(Lx/a;)Z
.locals 1
sget-object p1, Lz/e;->q:Ljava/lang/Object;
monitor-enter p1
:try_start_0
iget-object v0, p0, Lz/q;->l:Lz/e;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const/4 v0, 0x0
monitor-exit p1
return v0
:catchall_0
move-exception v0
monitor-exit p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
.end method
.method public final n()V
.locals 12
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
iget-object v0, p0, Lz/q;->b:La0/g;
invoke-virtual {v0}, La0/g;->m()Z
move-result v0
if-nez v0, :cond_6
iget-object v0, p0, Lz/q;->b:La0/g;
invoke-virtual {v0}, La0/g;->n()Z
move-result v0
if-eqz v0, :cond_0
goto/16 :goto_3
:cond_0
const/16 v0, 0xa
:try_start_0
iget-object v1, p0, Lz/q;->l:Lz/e;
iget-object v2, v1, Lz/e;->g:Lk/j;
iget-object v1, v1, Lz/e;->e:Landroid/content/Context;
iget-object v3, p0, Lz/q;->b:La0/g;
invoke-virtual {v2, v1, v3}, Lk/j;->n(Landroid/content/Context;La0/g;)I
move-result v1
const/4 v2, 0x0
if-eqz v1, :cond_1
new-instance v3, Lx/a;
invoke-direct {v3, v1, v2}, Lx/a;-><init>(ILandroid/app/PendingIntent;)V
const-string v1, "GoogleApiManager"
iget-object v4, p0, Lz/q;->b:La0/g;
invoke-virtual {v4}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v4
invoke-virtual {v4}, Ljava/lang/Class;->getName()Ljava/lang/String;
move-result-object v4
invoke-virtual {v3}, Lx/a;->toString()Ljava/lang/String;
move-result-object v5
invoke-virtual {v4}, Ljava/lang/String;->length()I
move-result v6
add-int/lit8 v6, v6, 0x23
invoke-virtual {v5}, Ljava/lang/String;->length()I
move-result v7
add-int/2addr v6, v7
new-instance v7, Ljava/lang/StringBuilder;
invoke-direct {v7, v6}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v6, "The service for "
invoke-virtual {v7, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string v4, " is not available: "
invoke-virtual {v7, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v7, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v7}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v4
invoke-static {v1, v4}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
invoke-virtual {p0, v3, v2}, Lz/q;->p(Lx/a;Ljava/lang/RuntimeException;)V
:try_end_0
.catch Ljava/lang/IllegalStateException; {:try_start_0 .. :try_end_0} :catch_1
return-void
:cond_1
new-instance v1, Lz/s;
iget-object v3, p0, Lz/q;->l:Lz/e;
iget-object v4, p0, Lz/q;->b:La0/g;
iget-object v5, p0, Lz/q;->c:Lz/a;
invoke-direct {v1, v3, v4, v5}, Lz/s;-><init>(Lz/e;La0/g;Lz/a;)V
invoke-interface {v4}, Ly/b;->a()Z
move-result v3
const/4 v4, 0x2
if-eqz v3, :cond_5
iget-object v3, p0, Lz/q;->h:Lz/a0;
invoke-static {v3}, Lp0/a;->j(Ljava/lang/Object;)V
iget-object v5, v3, Lz/a0;->f:Ll0/c;
if-eqz v5, :cond_2
check-cast v5, La0/g;
invoke-virtual {v5}, La0/g;->d()V
:cond_2
iget-object v5, v3, Lz/a0;->e:La0/d;
invoke-static {v3}, Ljava/lang/System;->identityHashCode(Ljava/lang/Object;)I
move-result v6
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v6
iput-object v6, v5, La0/d;->g:Ljava/lang/Integer;
iget-object v5, v3, Lz/a0;->c:Lc0/c;
iget-object v6, v3, Lz/a0;->a:Landroid/content/Context;
iget-object v7, v3, Lz/a0;->b:Landroid/os/Handler;
invoke-virtual {v7}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;
move-result-object v7
iget-object v8, v3, Lz/a0;->e:La0/d;
iget-object v9, v8, La0/d;->f:Ll0/a;
move-object v10, v3
move-object v11, v3
invoke-virtual/range {v5 .. v11}, Lc0/c;->c(Landroid/content/Context;Landroid/os/Looper;La0/d;Ly/a;Ly/f;Ly/g;)La0/g;
move-result-object v5
iput-object v5, v3, Lz/a0;->f:Ll0/c;
iput-object v1, v3, Lz/a0;->g:Lz/s;
iget-object v5, v3, Lz/a0;->d:Ljava/util/Set;
if-eqz v5, :cond_4
invoke-interface {v5}, Ljava/util/Set;->isEmpty()Z
move-result v5
if-eqz v5, :cond_3
goto :goto_0
:cond_3
iget-object v3, v3, Lz/a0;->f:Ll0/c;
check-cast v3, Lm0/a;
invoke-virtual {v3}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
new-instance v5, La0/c;
invoke-direct {v5, v3}, La0/c;-><init>(Ljava/lang/Object;)V
iput-object v5, v3, La0/g;->i:La0/b;
invoke-virtual {v3, v4, v2}, La0/g;->p(ILandroid/os/IInterface;)V
goto :goto_1
:goto_0
:cond_4
iget-object v5, v3, Lz/a0;->b:Landroid/os/Handler;
new-instance v6, Lz/z;
const/4 v7, 0x0
invoke-direct {v6, v7, v3}, Lz/z;-><init>(ILjava/lang/Object;)V
invoke-virtual {v5, v6}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:goto_1
:try_start_1
:cond_5
iget-object v3, p0, Lz/q;->b:La0/g;
iput-object v1, v3, La0/g;->i:La0/b;
invoke-virtual {v3, v4, v2}, La0/g;->p(ILandroid/os/IInterface;)V
:try_end_1
.catch Ljava/lang/SecurityException; {:try_start_1 .. :try_end_1} :catch_0
return-void
:catch_0
move-exception v1
new-instance v2, Lx/a;
invoke-direct {v2, v0}, Lx/a;-><init>(I)V
goto :goto_2
:catch_1
move-exception v1
new-instance v2, Lx/a;
invoke-direct {v2, v0}, Lx/a;-><init>(I)V
:goto_2
invoke-virtual {p0, v2, v1}, Lz/q;->p(Lx/a;Ljava/lang/RuntimeException;)V
:goto_3
:cond_6
return-void
.end method
.method public final o(Lz/v;)V
.locals 1
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
iget-object v0, p0, Lz/q;->b:La0/g;
invoke-virtual {v0}, La0/g;->m()Z
move-result v0
if-eqz v0, :cond_1
invoke-virtual {p0, p1}, Lz/q;->l(Lz/v;)Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p0}, Lz/q;->j()V
return-void
:cond_0
iget-object v0, p0, Lz/q;->a:Ljava/util/LinkedList;
invoke-virtual {v0, p1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z
return-void
:cond_1
iget-object v0, p0, Lz/q;->a:Ljava/util/LinkedList;
invoke-virtual {v0, p1}, Ljava/util/LinkedList;->add(Ljava/lang/Object;)Z
iget-object p1, p0, Lz/q;->k:Lx/a;
if-eqz p1, :cond_3
iget v0, p1, Lx/a;->b:I
if-eqz v0, :cond_2
iget-object v0, p1, Lx/a;->c:Landroid/app/PendingIntent;
if-eqz v0, :cond_2
const/4 v0, 0x1
goto :goto_0
:cond_2
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_3
const/4 v0, 0x0
invoke-virtual {p0, p1, v0}, Lz/q;->p(Lx/a;Ljava/lang/RuntimeException;)V
return-void
:cond_3
invoke-virtual {p0}, Lz/q;->n()V
return-void
.end method
.method public final p(Lx/a;Ljava/lang/RuntimeException;)V
.locals 6
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
iget-object v0, p0, Lz/q;->h:Lz/a0;
if-eqz v0, :cond_0
iget-object v0, v0, Lz/a0;->f:Ll0/c;
if-eqz v0, :cond_0
check-cast v0, La0/g;
invoke-virtual {v0}, La0/g;->d()V
:cond_0
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
const/4 v0, 0x0
iput-object v0, p0, Lz/q;->k:Lx/a;
iget-object v1, p0, Lz/q;->l:Lz/e;
iget-object v1, v1, Lz/e;->g:Lk/j;
iget-object v1, v1, Lk/j;->b:Ljava/lang/Object;
check-cast v1, Landroid/util/SparseIntArray;
invoke-virtual {v1}, Landroid/util/SparseIntArray;->clear()V
invoke-virtual {p0, p1}, Lz/q;->d(Lx/a;)V
iget-object v1, p0, Lz/q;->b:La0/g;
instance-of v1, v1, Lc0/e;
const/4 v2, 0x1
if-eqz v1, :cond_1
iget v1, p1, Lx/a;->b:I
const/16 v3, 0x18
if-eq v1, v3, :cond_1
iget-object v1, p0, Lz/q;->l:Lz/e;
iput-boolean v2, v1, Lz/e;->b:Z
iget-object v1, v1, Lz/e;->m:Lh0/d;
const/16 v3, 0x13
invoke-virtual {v1, v3}, Landroid/os/Handler;->obtainMessage(I)Landroid/os/Message;
move-result-object v3
const-wide/32 v4, 0x493e0
invoke-virtual {v1, v3, v4, v5}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
:cond_1
iget v1, p1, Lx/a;->b:I
const/4 v3, 0x4
if-ne v1, v3, :cond_2
sget-object p1, Lz/e;->p:Lcom/google/android/gms/common/api/Status;
invoke-virtual {p0, p1}, Lz/q;->e(Lcom/google/android/gms/common/api/Status;)V
return-void
:cond_2
iget-object v1, p0, Lz/q;->a:Ljava/util/LinkedList;
invoke-interface {v1}, Ljava/util/Collection;->isEmpty()Z
move-result v1
if-eqz v1, :cond_3
iput-object p1, p0, Lz/q;->k:Lx/a;
return-void
:cond_3
if-eqz p2, :cond_4
iget-object p1, p0, Lz/q;->l:Lz/e;
iget-object p1, p1, Lz/e;->m:Lh0/d;
invoke-static {p1}, Lp0/a;->f(Lh0/d;)V
const/4 p1, 0x0
invoke-virtual {p0, v0, p2, p1}, Lz/q;->f(Lcom/google/android/gms/common/api/Status;Ljava/lang/RuntimeException;Z)V
return-void
:cond_4
iget-object p2, p0, Lz/q;->l:Lz/e;
iget-boolean p2, p2, Lz/e;->n:Z
if-eqz p2, :cond_a
iget-object p2, p0, Lz/q;->c:Lz/a;
invoke-static {p2, p1}, Lz/e;->c(Lz/a;Lx/a;)Lcom/google/android/gms/common/api/Status;
move-result-object p2
invoke-virtual {p0, p2, v0, v2}, Lz/q;->f(Lcom/google/android/gms/common/api/Status;Ljava/lang/RuntimeException;Z)V
iget-object p2, p0, Lz/q;->a:Ljava/util/LinkedList;
invoke-interface {p2}, Ljava/util/Collection;->isEmpty()Z
move-result p2
if-eqz p2, :cond_5
return-void
:cond_5
invoke-virtual {p0, p1}, Lz/q;->m(Lx/a;)Z
move-result p2
if-eqz p2, :cond_6
return-void
:cond_6
iget-object p2, p0, Lz/q;->l:Lz/e;
iget v0, p0, Lz/q;->g:I
invoke-virtual {p2, p1, v0}, Lz/e;->b(Lx/a;I)Z
move-result p2
if-nez p2, :cond_9
iget p2, p1, Lx/a;->b:I
const/16 v0, 0x12
if-ne p2, v0, :cond_7
iput-boolean v2, p0, Lz/q;->i:Z
:cond_7
iget-boolean p2, p0, Lz/q;->i:Z
if-eqz p2, :cond_8
iget-object p1, p0, Lz/q;->l:Lz/e;
iget-object p1, p1, Lz/e;->m:Lh0/d;
const/16 p2, 0x9
iget-object v0, p0, Lz/q;->c:Lz/a;
invoke-static {p1, p2, v0}, Landroid/os/Message;->obtain(Landroid/os/Handler;ILjava/lang/Object;)Landroid/os/Message;
move-result-object p2
iget-object v0, p0, Lz/q;->l:Lz/e;
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const-wide/16 v0, 0x1388
invoke-virtual {p1, p2, v0, v1}, Landroid/os/Handler;->sendMessageDelayed(Landroid/os/Message;J)Z
return-void
:cond_8
iget-object p2, p0, Lz/q;->c:Lz/a;
invoke-static {p2, p1}, Lz/e;->c(Lz/a;Lx/a;)Lcom/google/android/gms/common/api/Status;
move-result-object p1
invoke-virtual {p0, p1}, Lz/q;->e(Lcom/google/android/gms/common/api/Status;)V
:cond_9
return-void
:cond_a
iget-object p2, p0, Lz/q;->c:Lz/a;
invoke-static {p2, p1}, Lz/e;->c(Lz/a;Lx/a;)Lcom/google/android/gms/common/api/Status;
move-result-object p1
invoke-virtual {p0, p1}, Lz/q;->e(Lcom/google/android/gms/common/api/Status;)V
return-void
.end method
.method public final q()V
.locals 5
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
invoke-static {v0}, Lp0/a;->f(Lh0/d;)V
sget-object v0, Lz/e;->o:Lcom/google/android/gms/common/api/Status;
invoke-virtual {p0, v0}, Lz/q;->e(Lcom/google/android/gms/common/api/Status;)V
iget-object v1, p0, Lz/q;->d:Lk/j;
invoke-virtual {v1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const/4 v2, 0x0
invoke-virtual {v1, v2, v0}, Lk/j;->o(ZLcom/google/android/gms/common/api/Status;)V
iget-object v0, p0, Lz/q;->f:Ljava/util/HashMap;
invoke-virtual {v0}, Ljava/util/HashMap;->keySet()Ljava/util/Set;
move-result-object v0
new-array v1, v2, [Lz/h;
invoke-interface {v0, v1}, Ljava/util/Set;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lz/h;
array-length v1, v0
:goto_0
if-ge v2, v1, :cond_0
aget-object v3, v0, v2
new-instance v3, Lz/c0;
new-instance v4, Lo0/i;
invoke-direct {v4}, Lo0/i;-><init>()V
invoke-direct {v3, v4}, Lz/c0;-><init>(Lo0/i;)V
invoke-virtual {p0, v3}, Lz/q;->o(Lz/v;)V
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_0
new-instance v0, Lx/a;
const/4 v1, 0x4
invoke-direct {v0, v1}, Lx/a;-><init>(I)V
invoke-virtual {p0, v0}, Lz/q;->d(Lx/a;)V
iget-object v0, p0, Lz/q;->b:La0/g;
invoke-virtual {v0}, La0/g;->m()Z
move-result v0
if-eqz v0, :cond_1
iget-object v0, p0, Lz/q;->b:La0/g;
new-instance v1, Lz/p;
invoke-direct {v1, p0}, Lz/p;-><init>(Lz/q;)V
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iget-object v0, p0, Lz/q;->l:Lz/e;
iget-object v0, v0, Lz/e;->m:Lh0/d;
new-instance v2, Lz/z;
const/4 v3, 0x2
invoke-direct {v2, v3, v1}, Lz/z;-><init>(ILjava/lang/Object;)V
invoke-virtual {v0, v2}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
:cond_1
return-void
.end method