granularity level: instruction
.class public final synthetic Lcom/google/android/gms/cloudmessaging/zzv;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-cloud-messaging@@17.0.0"
.implements Lcom/google/android/gms/tasks/Continuation;
.field public static final synthetic zza:Lcom/google/android/gms/cloudmessaging/zzv;
.method static synthetic constructor <clinit>()V
.locals 1
new-instance v0, Lcom/google/android/gms/cloudmessaging/zzv;
invoke-direct {v0}, Lcom/google/android/gms/cloudmessaging/zzv;-><init>()V
sput-object v0, Lcom/google/android/gms/cloudmessaging/zzv;->zza:Lcom/google/android/gms/cloudmessaging/zzv;
return-void
.end method
.method private synthetic constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public final then(Lcom/google/android/gms/tasks/Task;)Ljava/lang/Object;
.locals 4
invoke-virtual {p1}, Lcom/google/android/gms/tasks/Task;->isSuccessful()Z
move-result v0
if-eqz v0, :cond_0
invoke-virtual {p1}, Lcom/google/android/gms/tasks/Task;->getResult()Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroid/os/Bundle;
return-object p1
:cond_0
const/4 v0, 0x3
const-string v1, "Rpc"
invoke-static {v1, v0}, Landroid/util/Log;->isLoggable(Ljava/lang/String;I)Z
move-result v0
if-nez v0, :cond_1
goto :goto_0
:cond_1
invoke-virtual {p1}, Lcom/google/android/gms/tasks/Task;->getException()Ljava/lang/Exception;
move-result-object v0
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/String;->length()I
move-result v2
new-instance v3, Ljava/lang/StringBuilder;
add-int/lit8 v2, v2, 0x16
invoke-direct {v3, v2}, Ljava/lang/StringBuilder;-><init>(I)V
const-string v2, "Error making request: "
invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
:goto_0
new-instance v0, Ljava/io/IOException;
invoke-virtual {p1}, Lcom/google/android/gms/tasks/Task;->getException()Ljava/lang/Exception;
move-result-object p1
const-string v1, "SERVICE_NOT_AVAILABLE"
invoke-direct {v0, v1, p1}, Ljava/io/IOException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
throw v0
.end method