100 lines
2.1 KiB
Smali
100 lines
2.1 KiB
Smali
.class public final Ll0/l/c/i$a;
|
|
.super Ljava/lang/Object;
|
|
.source "ScheduledAction.java"
|
|
|
|
# interfaces
|
|
.implements Lrx/Subscription;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Ll0/l/c/i;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x11
|
|
name = "a"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final d:Ljava/util/concurrent/Future;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/Future<",
|
|
"*>;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public final synthetic e:Ll0/l/c/i;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ll0/l/c/i;Ljava/util/concurrent/Future;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/concurrent/Future<",
|
|
"*>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
iput-object p1, p0, Ll0/l/c/i$a;->e:Ll0/l/c/i;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p2, p0, Ll0/l/c/i$a;->d:Ljava/util/concurrent/Future;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public isUnsubscribed()Z
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Ll0/l/c/i$a;->d:Ljava/util/concurrent/Future;
|
|
|
|
invoke-interface {v0}, Ljava/util/concurrent/Future;->isCancelled()Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public unsubscribe()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Ll0/l/c/i$a;->e:Ll0/l/c/i;
|
|
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
move-result-object v1
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
iget-object v0, p0, Ll0/l/c/i$a;->d:Ljava/util/concurrent/Future;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/concurrent/Future;->cancel(Z)Z
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Ll0/l/c/i$a;->d:Ljava/util/concurrent/Future;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/concurrent/Future;->cancel(Z)Z
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|