granularity level: instruction
.class public final synthetic Lcom/google/android/gms/cloudmessaging/zzf;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-cloud-messaging@@17.0.0"
.implements Landroid/os/Handler$Callback;
.field public final synthetic zza:Lcom/google/android/gms/cloudmessaging/zzm;
.method public synthetic constructor <init>(Lcom/google/android/gms/cloudmessaging/zzm;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/google/android/gms/cloudmessaging/zzf;->zza:Lcom/google/android/gms/cloudmessaging/zzm;
return-void
.end method
.method public final handleMessage(Landroid/os/Message;)Z
.locals 4
iget-object v0, p0, Lcom/google/android/gms/cloudmessaging/zzf;->zza:Lcom/google/android/gms/cloudmessaging/zzm;
iget v1, p1, Landroid/os/Message;->arg1:I
const-string v2, "MessengerIpcClient"
const/4 v3, 0x3
invoke-static {v2, v3}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result v2
if-eqz v2, :cond_0
new-instance v2, Ljava/lang/StringBuilder;
const/16 v3, 0x29
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v3, "Received response to request: "
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v3, "MessengerIpcClient"
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-static {v3, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:cond_0
monitor-enter v0
:try_start_0
iget-object v2, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zze:Landroid/util/SparseArray;
invoke-virtual {v2, v1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/google/android/gms/cloudmessaging/zzp;
if-nez v2, :cond_1
new-instance p1, Ljava/lang/StringBuilder;
const/16 v2, 0x32
invoke-direct {p1, v2}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v2, "Received response for unknown request: "
invoke-virtual {p1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, "MessengerIpcClient"
invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-static {v1, p1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
monitor-exit v0
goto :goto_0
:cond_1
iget-object v3, v0, Lcom/google/android/gms/cloudmessaging/zzm;->zze:Landroid/util/SparseArray;
invoke-virtual {v3, v1}, Landroid/util/SparseArray;->remove(I)V
invoke-virtual {v0}, Lcom/google/android/gms/cloudmessaging/zzm;->zzf()V
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
invoke-virtual {p1}, Landroid/os/Message;->getData()Landroid/os/Bundle;
move-result-object p1
const-string v0, "unsupported"
const/4 v1, 0x0
invoke-virtual {p1, v0, v1}, Landroid/os/Bundle;->getBoolean(Ljava/lang/String;Z)Z
move-result v0
if-eqz v0, :cond_2
new-instance p1, Lcom/google/android/gms/cloudmessaging/zzq;
const/4 v0, 0x4
const-string v1, "Not supported by GmsCore"
const/4 v3, 0x0
invoke-direct {p1, v0, v1, v3}, Lcom/google/android/gms/cloudmessaging/zzq;-><init>(ILjava/lang/String;Ljava/lang/Throwable;)V
invoke-virtual {v2, p1}, Lcom/google/android/gms/cloudmessaging/zzp;->zzc(Lcom/google/android/gms/cloudmessaging/zzq;)V
goto :goto_0
:cond_2
invoke-virtual {v2, p1}, Lcom/google/android/gms/cloudmessaging/zzp;->zza(Landroid/os/Bundle;)V
:goto_0
const/4 p1, 0x1
return p1
:catchall_0
move-exception p1
:try_start_1
monitor-exit v0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
throw p1
.end method