今奥全景相机
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.

61 lines
1.5 KiB

.class final Lbolts/Task$2;
.super Ljava/lang/Object;
.source "Task.java"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lbolts/Task;->delay(JLjava/util/concurrent/ScheduledExecutorService;Lbolts/CancellationToken;)Lbolts/Task;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x8
name = null
.end annotation
# instance fields
.field final synthetic val$scheduled:Ljava/util/concurrent/ScheduledFuture;
.field final synthetic val$tcs:Lbolts/TaskCompletionSource;
# direct methods
.method constructor <init>(Ljava/util/concurrent/ScheduledFuture;Lbolts/TaskCompletionSource;)V
.locals 0
.prologue
.line 274
iput-object p1, p0, Lbolts/Task$2;->val$scheduled:Ljava/util/concurrent/ScheduledFuture;
iput-object p2, p0, Lbolts/Task$2;->val$tcs:Lbolts/TaskCompletionSource;
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 2
.prologue
.line 277
iget-object v0, p0, Lbolts/Task$2;->val$scheduled:Ljava/util/concurrent/ScheduledFuture;
const/4 v1, 0x1
invoke-interface {v0, v1}, Ljava/util/concurrent/ScheduledFuture;->cancel(Z)Z
.line 278
iget-object v0, p0, Lbolts/Task$2;->val$tcs:Lbolts/TaskCompletionSource;
invoke-virtual {v0}, Lbolts/TaskCompletionSource;->trySetCancelled()Z
.line 279
return-void
.end method