commit | 07a500f0de2243b832e258ed477652a10cbd2d08 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Wed Aug 12 09:56:44 2009 -0400 |
committer | Mike Lockwood <lockwood@android.com> | Wed Aug 12 09:59:32 2009 -0400 |
tree | 7ebbbcc116d05de1600da07f2555357cd6971560 | |
parent | 2ec8458c5fd5b1bfad2d6e16b606f5acbcfa34cc [diff] |
BatteryService: Fix problems shutting down when the battery is dead: Wait until system is booted before attempting to display the shutdown dialog. Use ShutdownActivity rather than attempting to run ShutdownThread in the battery service. Fix logic error (check !isPowered() instead of isPowered()) Signed-off-by: Mike Lockwood <lockwood@android.com>