zzf.smali
.class final Lcom/google/android/gms/gcm/zzf;
.super Landroid/os/Handler;
# instance fields
.field private final synthetic zzai:Lcom/google/android/gms/gcm/GoogleCloudMessaging;
# direct methods
.method constructor <init>(Lcom/google/android/gms/gcm/GoogleCloudMessaging;Landroid/os/Looper;)V
.registers 3
iput-object p1, p0, Lcom/google/android/gms/gcm/zzf;->zzai:Lcom/google/android/gms/gcm/GoogleCloudMessaging;
invoke-direct {p0, p2}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
return-void
.end method
# virtual methods
.method public final handleMessage(Landroid/os/Message;)V
.registers 5
if-eqz p1, :cond_4
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
:cond_4
iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast v0, Landroid/content/Intent;
const-string v1, "com.google.android.c2dm.intent.REGISTRATION"
invoke-virtual {v0}, Landroid/content/Intent;->getAction()Ljava/lang/String;
move-result-object v2
invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_1e
iget-object v1, p0, Lcom/google/android/gms/gcm/zzf;->zzai:Lcom/google/android/gms/gcm/GoogleCloudMessaging;
invoke-static {v1}, Lcom/google/android/gms/gcm/GoogleCloudMessaging;->zzd(Lcom/google/android/gms/gcm/GoogleCloudMessaging;)Ljava/util/concurrent/BlockingQueue;
move-result-object v1
invoke-interface {v1, v0}, Ljava/util/concurrent/BlockingQueue;->add(Ljava/lang/Object;)Z
:cond_1d
:goto_1d
return-void
:cond_1e
iget-object v1, p0, Lcom/google/android/gms/gcm/zzf;->zzai:Lcom/google/android/gms/gcm/GoogleCloudMessaging;
invoke-static {v1, v0}, Lcom/google/android/gms/gcm/GoogleCloudMessaging;->zzd(Lcom/google/android/gms/gcm/GoogleCloudMessaging;Landroid/content/Intent;)Z
move-result v1
if-nez v1, :cond_1d
iget-object v1, p0, Lcom/google/android/gms/gcm/zzf;->zzai:Lcom/google/android/gms/gcm/GoogleCloudMessaging;
invoke-static {v1}, Lcom/google/android/gms/gcm/GoogleCloudMessaging;->zze(Lcom/google/android/gms/gcm/GoogleCloudMessaging;)Landroid/content/Context;
move-result-object v1
invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/content/Intent;->setPackage(Ljava/lang/String;)Landroid/content/Intent;
iget-object v1, p0, Lcom/google/android/gms/gcm/zzf;->zzai:Lcom/google/android/gms/gcm/GoogleCloudMessaging;
invoke-static {v1}, Lcom/google/android/gms/gcm/GoogleCloudMessaging;->zze(Lcom/google/android/gms/gcm/GoogleCloudMessaging;)Landroid/content/Context;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/content/Context;->sendBroadcast(Landroid/content/Intent;)V
goto :goto_1d
.end method