commit | 3d86fd2bb9db6067c49634bc4c6cdb4d5235ad36 | [log] [tgz] |
---|---|---|
author | Matthew Williams <mjwilliams@google.com> | Fri May 16 18:02:17 2014 -0700 |
committer | Matthew Williams <mjwilliams@google.com> | Thu Jun 05 18:28:43 2014 +0000 |
tree | ead7a5dbd6d077bb22e04f6e9d9ac33d5df0f60a | |
parent | 03b62b3c7ff57f44a9142bac48603656dfb550ed [diff] |
Add persistence of tasks for TaskManager & BatteryController Tasks are persisted only if the client has the RECEIVE_BOOT_COMPLETED permission. This applies to both periodic and one-off tasks. Write out task as xml, using PersistableBundle for the extras data. Todo: Add persistable bundle to xml when ag/468207 is merged. Also added BatteryController logic. Change-Id: I23eeeb8b3bc6ba155e7fa4ec25857a68ee8b1567