OSDN Git Service

Fix issue #6381224: Initial emulator boot fails and shows a blank black screen.
authorDianne Hackborn <hackbod@google.com>
Sun, 24 Jun 2012 20:20:51 +0000 (13:20 -0700)
committerDianne Hackborn <hackbod@google.com>
Mon, 25 Jun 2012 21:27:41 +0000 (14:27 -0700)
commit42e620caf0407f1b5e02935ac4323742c65459fd
tree950736ba92c530521a1a1f417db42be759a6a0b3
parente9b4b3e94d396d176338c62f8c9f4c183b340f9b
Fix issue #6381224: Initial emulator boot fails and shows a blank black screen.

Make sure that all cases where we remove an activity from the history
stack, we call resumeTopActivityLocked() to cause the home activity
to be launched if the stack is now empty.

Also fixed a problem where some timeouts would not be removed when destroying
an activity, and a race condition in boot that would cause the
PhoneWindowManager to initially start out with the home key not working.

Bug: 6381224
Change-Id: If046bb01aed624b0d9ee3bbaaba68ed6b98fd1d0
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
services/java/com/android/server/am/ActivityStack.java