今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

147 lines
3.1 KiB

.class Lbolts/Task$13;
.super Ljava/lang/Object;
.source "Task.java"
# interfaces
.implements Lbolts/Continuation;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lbolts/Task;->onSuccessTask(Lbolts/Continuation;Ljava/util/concurrent/Executor;Lbolts/CancellationToken;)Lbolts/Task;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x0
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Lbolts/Continuation",
"<TTResult;",
"Lbolts/Task",
"<TTContinuationResult;>;>;"
}
.end annotation
# instance fields
.field final synthetic this$0:Lbolts/Task;
.field final synthetic val$continuation:Lbolts/Continuation;
.field final synthetic val$ct:Lbolts/CancellationToken;
# direct methods
.method constructor <init>(Lbolts/Task;Lbolts/CancellationToken;Lbolts/Continuation;)V
.locals 0
.prologue
.line 806
iput-object p1, p0, Lbolts/Task$13;->this$0:Lbolts/Task;
iput-object p2, p0, Lbolts/Task$13;->val$ct:Lbolts/CancellationToken;
iput-object p3, p0, Lbolts/Task$13;->val$continuation:Lbolts/Continuation;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public then(Lbolts/Task;)Lbolts/Task;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lbolts/Task",
"<TTResult;>;)",
"Lbolts/Task",
"<TTContinuationResult;>;"
}
.end annotation
.prologue
.line 809
iget-object v0, p0, Lbolts/Task$13;->val$ct:Lbolts/CancellationToken;
if-eqz v0, :cond_0
iget-object v0, p0, Lbolts/Task$13;->val$ct:Lbolts/CancellationToken;
invoke-virtual {v0}, Lbolts/CancellationToken;->isCancellationRequested()Z
move-result v0
if-eqz v0, :cond_0
.line 810
invoke-static {}, Lbolts/Task;->cancelled()Lbolts/Task;
move-result-object v0
.line 818
:goto_0
return-object v0
.line 813
:cond_0
invoke-virtual {p1}, Lbolts/Task;->isFaulted()Z
move-result v0
if-eqz v0, :cond_1
.line 814
invoke-virtual {p1}, Lbolts/Task;->getError()Ljava/lang/Exception;
move-result-object v0
invoke-static {v0}, Lbolts/Task;->forError(Ljava/lang/Exception;)Lbolts/Task;
move-result-object v0
goto :goto_0
.line 815
:cond_1
invoke-virtual {p1}, Lbolts/Task;->isCancelled()Z
move-result v0
if-eqz v0, :cond_2
.line 816
invoke-static {}, Lbolts/Task;->cancelled()Lbolts/Task;
move-result-object v0
goto :goto_0
.line 818
:cond_2
iget-object v0, p0, Lbolts/Task$13;->val$continuation:Lbolts/Continuation;
invoke-virtual {p1, v0}, Lbolts/Task;->continueWithTask(Lbolts/Continuation;)Lbolts/Task;
move-result-object v0
goto :goto_0
.end method
.method public bridge synthetic then(Lbolts/Task;)Ljava/lang/Object;
.locals 1
.prologue
.line 806
invoke-virtual {p0, p1}, Lbolts/Task$13;->then(Lbolts/Task;)Lbolts/Task;
move-result-object v0
return-object v0
.end method