OSDN Git Service

Make sure to stop noHistory="true" activities properly
authorChristopher Tate <ctate@google.com>
Tue, 12 Jun 2012 20:08:18 +0000 (13:08 -0700)
committerChristopher Tate <ctate@google.com>
Tue, 12 Jun 2012 20:08:18 +0000 (13:08 -0700)
commit5007ddded6ec4b47c253d3c039806eb5dd77b40e
treee0c4a4446e13cf8833688b8df9fbfcec6905547b
parent0d8eba64b2ee2921915e0f6793ddd2d8f44e2428
Make sure to stop noHistory="true" activities properly

The code was correctly inducing a 'finish' when such an activity was
being stopped, but then was not continuing with the rest of the stop
bookkeeping at that point.  In some circumstances this could result
in an inconsistent state, with the activity marked as finishing but
neither in the foreground nor stopped.

Bug 6585403

Change-Id: Ib5c5be885bc6534e099e040d87a8589f7b7454ce
services/java/com/android/server/am/ActivityStack.java