AbstractFuture$SetFuture.smali
.class final Landroidx/work/impl/utils/futures/AbstractFuture$SetFuture;
.super Ljava/lang/Object;
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/work/impl/utils/futures/AbstractFuture;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1a
name = "SetFuture"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<V:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;",
"Ljava/lang/Runnable;"
}
.end annotation
# instance fields
.field final f:Landroidx/work/impl/utils/futures/AbstractFuture;
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroidx/work/impl/utils/futures/AbstractFuture<",
"TV;>;"
}
.end annotation
.end field
.field final g:Lcom/google/common/util/concurrent/ListenableFuture;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/common/util/concurrent/ListenableFuture<",
"+TV;>;"
}
.end annotation
.end field
# direct methods
.method constructor <init>(Landroidx/work/impl/utils/futures/AbstractFuture;Lcom/google/common/util/concurrent/ListenableFuture;)V
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/work/impl/utils/futures/AbstractFuture<",
"TV;>;",
"Lcom/google/common/util/concurrent/ListenableFuture<",
"+TV;>;)V"
}
.end annotation
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Landroidx/work/impl/utils/futures/AbstractFuture$SetFuture;->f:Landroidx/work/impl/utils/futures/AbstractFuture;
iput-object p2, p0, Landroidx/work/impl/utils/futures/AbstractFuture$SetFuture;->g:Lcom/google/common/util/concurrent/ListenableFuture;
return-void
.end method
# virtual methods
.method public run()V
.registers 4
iget-object v0, p0, Landroidx/work/impl/utils/futures/AbstractFuture$SetFuture;->f:Landroidx/work/impl/utils/futures/AbstractFuture;
iget-object v0, v0, Landroidx/work/impl/utils/futures/AbstractFuture;->f:Ljava/lang/Object;
if-eq v0, p0, :cond_7
return-void
:cond_7
iget-object v0, p0, Landroidx/work/impl/utils/futures/AbstractFuture$SetFuture;->g:Lcom/google/common/util/concurrent/ListenableFuture;
invoke-static {v0}, Landroidx/work/impl/utils/futures/AbstractFuture;->j(Lcom/google/common/util/concurrent/ListenableFuture;)Ljava/lang/Object;
move-result-object v0
sget-object v1, Landroidx/work/impl/utils/futures/AbstractFuture;->k:Landroidx/work/impl/utils/futures/AbstractFuture$AtomicHelper;
iget-object v2, p0, Landroidx/work/impl/utils/futures/AbstractFuture$SetFuture;->f:Landroidx/work/impl/utils/futures/AbstractFuture;
invoke-virtual {v1, v2, p0, v0}, Landroidx/work/impl/utils/futures/AbstractFuture$AtomicHelper;->b(Landroidx/work/impl/utils/futures/AbstractFuture;Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_1c
iget-object v0, p0, Landroidx/work/impl/utils/futures/AbstractFuture$SetFuture;->f:Landroidx/work/impl/utils/futures/AbstractFuture;
invoke-static {v0}, Landroidx/work/impl/utils/futures/AbstractFuture;->g(Landroidx/work/impl/utils/futures/AbstractFuture;)V
:cond_1c
return-void
.end method