commit | b62f959430afa80e616675fe15cec5392e8178de | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@android.com> | Fri Mar 12 07:55:23 2010 -0500 |
committer | Mike Lockwood <lockwood@android.com> | Fri Mar 12 12:35:24 2010 -0500 |
tree | 28051125ef1f7a0af40106912fdd1a031ff37ec8 | |
parent | a91e972752211d6731fb6784f3f9b653add58aa8 [diff] |
Fix problems with new PowerManager.reboot() implementation. ShutdownThread.reboot() does return so we need to block after calling it to prevent PowerManager.reboot() from returning. Since PowerManager.reboot() can now take significantly longer than before, we now ignore ANRs during shutdown. Change-Id: Ibceeb265ae382567215f6a399108d8be3a7bbc95 Signed-off-by: Mike Lockwood <lockwood@android.com>