commit | 55280a91884b9256e8db6af6a09f28b3feeaa9d8 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Thu May 07 15:53:46 2009 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Fri May 08 12:59:21 2009 -0700 |
tree | ac29de79b8ecec41f2fde6014a1834418a82d2fd | |
parent | 672f1e2b07d985526bfd5606e6a888005fdcb70c [diff] |
Improve shutdown process to send broadcast for applications. This introduces a new class in the base platform for performing a clean shutdown (which was copied from the classes in the policies). It includes new features to send a shutdown broadcast for applications to do cleanup, and ot have the activity manager pause the current activity before proceeding with the shutdown. These facilities are also use to write at the most recent stat files for sync, battery and user activity.