OSDN Git Service

Ignore finishing activities when fetching the top
authorCraig Mautner <cmautner@google.com>
Mon, 8 Sep 2014 01:05:31 +0000 (18:05 -0700)
committerCraig Mautner <cmautner@google.com>
Mon, 8 Sep 2014 01:05:31 +0000 (18:05 -0700)
commit0175b882b5e021907c307ab0e455bff014ad8784
treed9587cab125993c3cb9d1e89237df2c1951dcdf2
parent68c936f77d836285c255e98b73bdadb78025ade9
Ignore finishing activities when fetching the top

When the top activity is finishing we don't want to be comparing
it for matches to launching activities. This was keeping curTop
from matching itself when launching a lower task.

Fixes bug 17383648.

Change-Id: I837ac087ef965d99d12c98ab1c779de46716e204
services/core/java/com/android/server/am/ActivityStack.java
services/core/java/com/android/server/am/ActivityStackSupervisor.java