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