granularity level: instruction
.class public final Lcom/google/android/gms/common/internal/zze;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-basement@@18.1.0"
.implements Landroid/content/ServiceConnection;
.field final synthetic zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
.field private final zzb:I
.method public constructor <init>(Lcom/google/android/gms/common/internal/BaseGmsClient;I)V
.locals 0
iput-object p1, p0, Lcom/google/android/gms/common/internal/zze;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p2, p0, Lcom/google/android/gms/common/internal/zze;->zzb:I
return-void
.end method
.method public final onServiceConnected(Landroid/content/ComponentName;Landroid/os/IBinder;)V
.locals 3
iget-object p1, p0, Lcom/google/android/gms/common/internal/zze;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
if-nez p2, :cond_0
const/16 p2, 0x10
invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzk(Lcom/google/android/gms/common/internal/BaseGmsClient;I)V
return-void
:cond_0
invoke-static {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd(Lcom/google/android/gms/common/internal/BaseGmsClient;)Ljava/lang/Object;
move-result-object p1
monitor-enter p1
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/common/internal/zze;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
const-string v1, "com.google.android.gms.common.internal.IGmsServiceBroker"
invoke-interface {p2, v1}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
move-result-object v1
if-eqz v1, :cond_1
instance-of v2, v1, Lcom/google/android/gms/common/internal/IGmsServiceBroker;
if-eqz v2, :cond_1
check-cast v1, Lcom/google/android/gms/common/internal/IGmsServiceBroker;
goto :goto_0
:cond_1
new-instance v1, Lcom/google/android/gms/common/internal/zzac;
invoke-direct {v1, p2}, Lcom/google/android/gms/common/internal/zzac;-><init>(Landroid/os/IBinder;)V
:goto_0
invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzh(Lcom/google/android/gms/common/internal/BaseGmsClient;Lcom/google/android/gms/common/internal/IGmsServiceBroker;)V
monitor-exit p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object p1, p0, Lcom/google/android/gms/common/internal/zze;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
const/4 p2, 0x0
const/4 v0, 0x0
iget v1, p0, Lcom/google/android/gms/common/internal/zze;->zzb:I
invoke-virtual {p1, p2, v0, v1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzl(ILandroid/os/Bundle;I)V
return-void
:catchall_0
move-exception p2
:try_start_1
monitor-exit p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p2
.end method
.method public final onServiceDisconnected(Landroid/content/ComponentName;)V
.locals 3
iget-object p1, p0, Lcom/google/android/gms/common/internal/zze;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
invoke-static {p1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzd(Lcom/google/android/gms/common/internal/BaseGmsClient;)Ljava/lang/Object;
move-result-object p1
monitor-enter p1
:try_start_0
iget-object v0, p0, Lcom/google/android/gms/common/internal/zze;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
const/4 v1, 0x0
invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzh(Lcom/google/android/gms/common/internal/BaseGmsClient;Lcom/google/android/gms/common/internal/IGmsServiceBroker;)V
monitor-exit p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
iget-object p1, p0, Lcom/google/android/gms/common/internal/zze;->zza:Lcom/google/android/gms/common/internal/BaseGmsClient;
iget-object p1, p1, Lcom/google/android/gms/common/internal/BaseGmsClient;->zzb:Landroid/os/Handler;
const/4 v0, 0x6
iget v1, p0, Lcom/google/android/gms/common/internal/zze;->zzb:I
const/4 v2, 0x1
invoke-virtual {p1, v0, v1, v2}, Landroid/os/Handler;->obtainMessage(III)Landroid/os/Message;
move-result-object v0
invoke-virtual {p1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
return-void
:catchall_0
move-exception v0
:try_start_1
monitor-exit p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw v0
.end method