Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Not at the moment. But we have been asked this before, so I will treat this as a feature request.
re...@gmail.com <re...@gmail.com> #3
OK thanks. At the moment I am just adding the name to the Data
for the work request and retrieving it in startWork()
, which works well enough.
ra...@google.com <ra...@google.com> #4
Sorry, meant to turn this into a docs bug.
Description
Version used: 2.3.4
Devices/Android versions reproduced on: n/a
I think the lifetime of the WorkInfo data returned from the library should be more clear. Specifically, the "succeeded" state should be made more clear. How long is this "succeeded" state persisted? Is it per process? So if you cold boot the app "succeeded" will be cleared? That actually doesn't seem to be the case from what I can tell. From what I can tell, the "succeeded" state will be persisted over reboot. In my opinion, this should be documented. Or, maybe there should be more granularity like a "succeeded" and "succeeded since reboot".