.class public Lv1/n;
.super Ljava/lang/Object;
.source ""

# interfaces
.implements Ljava/lang/Runnable;


# static fields
.field public static final x:Ljava/lang/String;


# instance fields
.field public final r:Lw1/c;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lw1/c<",
            "Ljava/lang/Void;",
            ">;"
        }
    .end annotation
.end field

.field public final s:Landroid/content/Context;

.field public final t:Lu1/p;

.field public final u:Landroidx/work/ListenableWorker;

.field public final v:Ll1/e;

.field public final w:Lx1/a;


# direct methods
.method public static constructor <clinit>()V
    .registers 1

    const-string v0, "WorkForegroundRunnable"

    invoke-static {v0}, Ll1/i;->e(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lv1/n;->x:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Lu1/p;Landroidx/work/ListenableWorker;Ll1/e;Lx1/a;)V
    .registers 7
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "LambdaLast"
        }
    .end annotation

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 1
    new-instance v0, Lw1/c;

    invoke-direct {v0}, Lw1/c;-><init>()V

    .line 2
    iput-object v0, p0, Lv1/n;->r:Lw1/c;

    iput-object p1, p0, Lv1/n;->s:Landroid/content/Context;

    iput-object p2, p0, Lv1/n;->t:Lu1/p;

    iput-object p3, p0, Lv1/n;->u:Landroidx/work/ListenableWorker;

    iput-object p4, p0, Lv1/n;->v:Ll1/e;

    iput-object p5, p0, Lv1/n;->w:Lx1/a;

    return-void
.end method


# virtual methods
.method public run()V
    .registers 4
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "UnsafeExperimentalUsageError"
        }
    .end annotation

    iget-object v0, p0, Lv1/n;->t:Lu1/p;

    iget-boolean v0, v0, Lu1/p;->q:Z

    if-eqz v0, :cond_2f

    invoke-static {}, Lh0/a;->a()Z

    move-result v0

    if-eqz v0, :cond_d

    goto :goto_2f

    .line 1
    :cond_d
    new-instance v0, Lw1/c;

    invoke-direct {v0}, Lw1/c;-><init>()V

    .line 2
    iget-object v1, p0, Lv1/n;->w:Lx1/a;

    check-cast v1, Lx1/b;

    .line 3
    iget-object v1, v1, Lx1/b;->c:Ljava/util/concurrent/Executor;

    .line 4
    new-instance v2, Lv1/n$a;

    invoke-direct {v2, p0, v0}, Lv1/n$a;-><init>(Lv1/n;Lw1/c;)V

    invoke-interface {v1, v2}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V

    new-instance v1, Lv1/n$b;

    invoke-direct {v1, p0, v0}, Lv1/n$b;-><init>(Lv1/n;Lw1/c;)V

    iget-object v2, p0, Lv1/n;->w:Lx1/a;

    check-cast v2, Lx1/b;

    .line 5
    iget-object v2, v2, Lx1/b;->c:Ljava/util/concurrent/Executor;

    .line 6
    invoke-virtual {v0, v1, v2}, Lw1/a;->b(Ljava/lang/Runnable;Ljava/util/concurrent/Executor;)V

    return-void

    :cond_2f
    :goto_2f
    iget-object v0, p0, Lv1/n;->r:Lw1/c;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lw1/c;->j(Ljava/lang/Object;)Z

    return-void
.end method
