62 lines
1.6 KiB
Smali
62 lines
1.6 KiB
Smali
.class Landroidx/work/Worker$1;
|
|
.super Ljava/lang/Object;
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Landroidx/work/Worker;->startWork()Lcom/google/a/a/a/a;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic this$0:Landroidx/work/Worker;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Landroidx/work/Worker;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Landroidx/work/Worker$1;->this$0:Landroidx/work/Worker;
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public run()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Landroidx/work/Worker$1;->this$0:Landroidx/work/Worker;
|
|
|
|
invoke-virtual {v0}, Landroidx/work/Worker;->doWork()Landroidx/work/ListenableWorker$Result;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Landroidx/work/Worker$1;->this$0:Landroidx/work/Worker;
|
|
|
|
iget-object v1, v1, Landroidx/work/Worker;->mFuture:Landroidx/work/impl/utils/futures/SettableFuture;
|
|
|
|
new-instance v2, Landroidx/work/ListenableWorker$Payload;
|
|
|
|
iget-object v3, p0, Landroidx/work/Worker$1;->this$0:Landroidx/work/Worker;
|
|
|
|
invoke-virtual {v3}, Landroidx/work/Worker;->getOutputData()Landroidx/work/Data;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {v2, v0, v3}, Landroidx/work/ListenableWorker$Payload;-><init>(Landroidx/work/ListenableWorker$Result;Landroidx/work/Data;)V
|
|
|
|
invoke-virtual {v1, v2}, Landroidx/work/impl/utils/futures/SettableFuture;->set(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|