Setting the Constraints required by a Worker in an integration test

前端 未结 0 1017
日久生厌
日久生厌 2021-01-23 09:17

In my integration test, I enqueue a worker that has constraints battery,

.setRequiresBatteryNotLow(true)

meaning the worker will not doWork

相关标签:
回答
  • 消灭零回复
提交回复
热议问题