.class public final Landroidx/work/OneTimeWorkRequest$Builder; .super Landroidx/work/WorkRequest$Builder; .source "OneTimeWorkRequest.kt" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/work/OneTimeWorkRequest; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "Builder" .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Landroidx/work/WorkRequest$Builder<", "Landroidx/work/OneTimeWorkRequest$Builder;", "Landroidx/work/OneTimeWorkRequest;", ">;" } .end annotation .annotation runtime Lkotlin/Metadata; d1 = { "\u0000 \n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0008\n\u0002\u0018\u0002\n\u0000\u0018\u00002\u000e\u0012\u0004\u0012\u00020\u0000\u0012\u0004\u0012\u00020\u00020\u0001B\u0015\u0012\u000e\u0010\u0003\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u00050\u0004\u00a2\u0006\u0002\u0010\u0006J\r\u0010\n\u001a\u00020\u0002H\u0010\u00a2\u0006\u0002\u0008\u000bJ\u0016\u0010\u000c\u001a\u00020\u00002\u000e\u0010\r\u001a\n\u0012\u0006\u0008\u0001\u0012\u00020\u000e0\u0004R\u0014\u0010\u0007\u001a\u00020\u00008PX\u0090\u0004\u00a2\u0006\u0006\u001a\u0004\u0008\u0008\u0010\t\u00a8\u0006\u000f" } d2 = { "Landroidx/work/OneTimeWorkRequest$Builder;", "Landroidx/work/WorkRequest$Builder;", "Landroidx/work/OneTimeWorkRequest;", "workerClass", "Ljava/lang/Class;", "Landroidx/work/ListenableWorker;", "(Ljava/lang/Class;)V", "thisObject", "getThisObject$work_runtime_release", "()Landroidx/work/OneTimeWorkRequest$Builder;", "buildInternal", "buildInternal$work_runtime_release", "setInputMerger", "inputMerger", "Landroidx/work/InputMerger;", "work-runtime_release" } k = 0x1 mv = { 0x1, 0x8, 0x0 } xi = 0x30 .end annotation # direct methods .method public constructor (Ljava/lang/Class;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "+", "Landroidx/work/ListenableWorker;", ">;)V" } .end annotation const-string v0, "workerClass" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 36 invoke-direct {p0, p1}, Landroidx/work/WorkRequest$Builder;->(Ljava/lang/Class;)V return-void .end method # virtual methods .method public buildInternal$work_runtime_release()Landroidx/work/OneTimeWorkRequest; .locals 1 .line 59 invoke-virtual {p0}, Landroidx/work/OneTimeWorkRequest$Builder;->getBackoffCriteriaSet$work_runtime_release()Z move-result v0 if-eqz v0, :cond_1 .line 60 invoke-virtual {p0}, Landroidx/work/OneTimeWorkRequest$Builder;->getWorkSpec$work_runtime_release()Landroidx/work/impl/model/WorkSpec; move-result-object v0 iget-object v0, v0, Landroidx/work/impl/model/WorkSpec;->constraints:Landroidx/work/Constraints; invoke-virtual {v0}, Landroidx/work/Constraints;->requiresDeviceIdle()Z move-result v0 if-nez v0, :cond_0 goto :goto_0 .line 58 :cond_0 new-instance p0, Ljava/lang/IllegalArgumentException; const-string v0, "Cannot set backoff criteria on an idle mode job" invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;->(Ljava/lang/String;)V throw p0 .line 62 :cond_1 :goto_0 new-instance v0, Landroidx/work/OneTimeWorkRequest; invoke-direct {v0, p0}, Landroidx/work/OneTimeWorkRequest;->(Landroidx/work/OneTimeWorkRequest$Builder;)V return-object v0 .end method .method public bridge synthetic buildInternal$work_runtime_release()Landroidx/work/WorkRequest; .locals 0 .line 35 invoke-virtual {p0}, Landroidx/work/OneTimeWorkRequest$Builder;->buildInternal$work_runtime_release()Landroidx/work/OneTimeWorkRequest; move-result-object p0 check-cast p0, Landroidx/work/WorkRequest; return-object p0 .end method .method public getThisObject$work_runtime_release()Landroidx/work/OneTimeWorkRequest$Builder; .locals 0 return-object p0 .end method .method public bridge synthetic getThisObject$work_runtime_release()Landroidx/work/WorkRequest$Builder; .locals 0 .line 35 invoke-virtual {p0}, Landroidx/work/OneTimeWorkRequest$Builder;->getThisObject$work_runtime_release()Landroidx/work/OneTimeWorkRequest$Builder; move-result-object p0 check-cast p0, Landroidx/work/WorkRequest$Builder; return-object p0 .end method .method public final setInputMerger(Ljava/lang/Class;)Landroidx/work/OneTimeWorkRequest$Builder; .locals 2 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "+", "Landroidx/work/InputMerger;", ">;)", "Landroidx/work/OneTimeWorkRequest$Builder;" } .end annotation const-string v0, "inputMerger" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 53 invoke-virtual {p0}, Landroidx/work/OneTimeWorkRequest$Builder;->getWorkSpec$work_runtime_release()Landroidx/work/impl/model/WorkSpec; move-result-object v0 invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object p1 const-string v1, "inputMerger.name" invoke-static {p1, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V iput-object p1, v0, Landroidx/work/impl/model/WorkSpec;->inputMergerClassName:Ljava/lang/String; return-object p0 .end method