今奥全景相机
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$12;
.super Ljava/lang/Object;
.source "Task.java"
# interfaces
.implements Lbolts/Continuation;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lbolts/Task;->onSuccess(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 754
iput-object p1, p0, Lbolts/Task$12;->this$0:Lbolts/Task;
iput-object p2, p0, Lbolts/Task$12;->val$ct:Lbolts/CancellationToken;
iput-object p3, p0, Lbolts/Task$12;->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 757
iget-object v0, p0, Lbolts/Task$12;->val$ct:Lbolts/CancellationToken;
if-eqz v0, :cond_0
iget-object v0, p0, Lbolts/Task$12;->val$ct:Lbolts/CancellationToken;
invoke-virtual {v0}, Lbolts/CancellationToken;->isCancellationRequested()Z
move-result v0
if-eqz v0, :cond_0
.line 758
invoke-static {}, Lbolts/Task;->cancelled()Lbolts/Task;
move-result-object v0
.line 766
:goto_0
return-object v0
.line 761
:cond_0
invoke-virtual {p1}, Lbolts/Task;->isFaulted()Z
move-result v0
if-eqz v0, :cond_1
.line 762
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 763
:cond_1
invoke-virtual {p1}, Lbolts/Task;->isCancelled()Z
move-result v0
if-eqz v0, :cond_2
.line 764
invoke-static {}, Lbolts/Task;->cancelled()Lbolts/Task;
move-result-object v0
goto :goto_0
.line 766
:cond_2
iget-object v0, p0, Lbolts/Task$12;->val$continuation:Lbolts/Continuation;
invoke-virtual {p1, v0}, Lbolts/Task;->continueWith(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 754
invoke-virtual {p0, p1}, Lbolts/Task$12;->then(Lbolts/Task;)Lbolts/Task;
move-result-object v0
return-object v0
.end method