commit | 9b9244b6941110ea2d940d9fc8eed0cdff96a016 | [log] [tgz] |
---|---|---|
author | Matthew Williams <mjwilliams@google.com> | Wed May 14 11:06:04 2014 -0700 |
committer | Matthew Williams <mjwilliams@google.com> | Thu May 29 00:45:02 2014 +0000 |
tree | 264c2df2c71b23437e66bf829e61b9ff46b2aa72 | |
parent | 3326a8782f7aae58b76b96d52d7756787ab401d0 [diff] |
DO NOT MERGE Implementation of TaskManager reschedule/cancel Issues here: "Reschedule" of an idle-mode task is not well-defined. In the API I throw an error if you try to set a back-off policy on an idle mode task. Implementation-wise, i add a delay for a reschedule request of an idle mode task. This means that if the phone's still in idle mode after the delay they app will get a call back, but otherwise it'll have to wait til the next one. Implemented all API functions