fix passing param to worker
This commit is contained in:
parent
a640f43847
commit
4b0c86546c
1 changed files with 2 additions and 0 deletions
|
@ -233,6 +233,7 @@ class CalculationWorkflowImpl @Inject constructor(
|
|||
)
|
||||
.then(
|
||||
OneTimeWorkRequest.Builder(UpdateGraphWorker::class.java)
|
||||
.setInputData(Data.Builder().putInt(PASS, CalculationWorkflow.ProgressData.DRAW_FINAL.pass).build())
|
||||
.build()
|
||||
)
|
||||
.enqueue()
|
||||
|
@ -254,6 +255,7 @@ class CalculationWorkflowImpl @Inject constructor(
|
|||
)
|
||||
.then(
|
||||
OneTimeWorkRequest.Builder(UpdateGraphWorker::class.java)
|
||||
.setInputData(Data.Builder().putInt(PASS, CalculationWorkflow.ProgressData.DRAW_FINAL.pass).build())
|
||||
.build()
|
||||
)
|
||||
.enqueue()
|
||||
|
|
Loading…
Reference in a new issue