Skip to content
Commit b62f9594 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

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: default avatarMike Lockwood <lockwood@android.com>
parent a91e9727
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment