granularity level: instruction
.class abstract Lcom/google/android/gms/common/api/internal/zad;
.super Lcom/google/android/gms/common/api/internal/zac;
.source "com.google.android.gms:play-services-base@@18.0.1"
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">",
"Lcom/google/android/gms/common/api/internal/zac;"
}
.end annotation
.field protected final zaa:Lcom/google/android/gms/tasks/TaskCompletionSource;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"TT;>;"
}
.end annotation
.end field
.method public constructor <init>(ILcom/google/android/gms/tasks/TaskCompletionSource;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"TT;>;)V"
}
.end annotation
invoke-direct {p0, p1}, Lcom/google/android/gms/common/api/internal/zac;-><init>(I)V
iput-object p2, p0, Lcom/google/android/gms/common/api/internal/zad;->zaa:Lcom/google/android/gms/tasks/TaskCompletionSource;
return-void
.end method
.method protected abstract zac(Lcom/google/android/gms/common/api/internal/zabq;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/api/internal/zabq<",
"*>;)V"
}
.end annotation
.end method
.method public final zad(Lcom/google/android/gms/common/api/Status;)V
.locals 2
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zad;->zaa:Lcom/google/android/gms/tasks/TaskCompletionSource;
new-instance v1, Lcom/google/android/gms/common/api/ApiException;
invoke-direct {v1, p1}, Lcom/google/android/gms/common/api/ApiException;-><init>(Lcom/google/android/gms/common/api/Status;)V
invoke-virtual {v0, v1}, Lcom/google/android/gms/tasks/TaskCompletionSource;->trySetException(Ljava/lang/Exception;)Z
return-void
.end method
.method public final zae(Ljava/lang/Exception;)V
.locals 1
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zad;->zaa:Lcom/google/android/gms/tasks/TaskCompletionSource;
invoke-virtual {v0, p1}, Lcom/google/android/gms/tasks/TaskCompletionSource;->trySetException(Ljava/lang/Exception;)Z
return-void
.end method
.method public final zaf(Lcom/google/android/gms/common/api/internal/zabq;)V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/DeadObjectException;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/api/internal/zabq<",
"*>;)V"
}
.end annotation
:try_start_0
invoke-virtual {p0, p1}, Lcom/google/android/gms/common/api/internal/zad;->zac(Lcom/google/android/gms/common/api/internal/zabq;)V
:try_end_0
.catch Landroid/os/DeadObjectException; {:try_start_0 .. :try_end_0} :catch_2
.catch Landroid/os/RemoteException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/RuntimeException; {:try_start_0 .. :try_end_0} :catch_0
return-void
:catch_0
move-exception p1
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/zad;->zaa:Lcom/google/android/gms/tasks/TaskCompletionSource;
invoke-virtual {v0, p1}, Lcom/google/android/gms/tasks/TaskCompletionSource;->trySetException(Ljava/lang/Exception;)Z
return-void
:catch_1
move-exception p1
invoke-static {p1}, Lcom/google/android/gms/common/api/internal/zai;->zah(Landroid/os/RemoteException;)Lcom/google/android/gms/common/api/Status;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/google/android/gms/common/api/internal/zad;->zad(Lcom/google/android/gms/common/api/Status;)V
return-void
:catch_2
move-exception p1
invoke-static {p1}, Lcom/google/android/gms/common/api/internal/zai;->zah(Landroid/os/RemoteException;)Lcom/google/android/gms/common/api/Status;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/google/android/gms/common/api/internal/zad;->zad(Lcom/google/android/gms/common/api/Status;)V
throw p1
.end method
.method public zag(Lcom/google/android/gms/common/api/internal/zaad;Z)V
.locals 0
return-void
.end method