commit | 6ffce2e9a3c57634bb73f8ff133ca680f8070d5d | [log] [tgz] |
---|---|---|
author | Suchi Amalapurapu <asuchitra@google.com> | Mon Mar 08 14:48:40 2010 -0800 |
committer | Mike Lockwood <lockwood@android.com> | Tue Mar 09 17:00:18 2010 -0500 |
tree | 39b0492ba064caf003c47db9bd41ac0860e36743 | |
parent | 8e461c9add08ac8705c50aa0357304aea6a5dbe0 [diff] |
Add new shutdown observer for MountService. Use new observer before rebooting and shutting down. Add some unit tests for unmount and shutdown code paths Fix registering/unregistering part in MountService Use ShutdownThread in PowerManager.reboot() Add reboot support to ShutdownThread. Remove MountService code from PowerManagerService.java and Power.java. Clean shutdown/reboot is handled exclusively by ShutdownThread now. Change-Id: Iefb157451d3d9c426cb431707b870a873c09123d