OSDN Git Service

Fix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET
authorDianne Hackborn <hackbod@google.com>
Thu, 15 Apr 2010 01:01:43 +0000 (18:01 -0700)
committerDianne Hackborn <hackbod@google.com>
Thu, 15 Apr 2010 01:01:43 +0000 (18:01 -0700)
commitb67fa45c26d5e4fc4d19a15868af348994bd6287
treeb99fd4aa49cf975ce4f913fba8cd8f98fdb61eaf
parent8a878dde9d15f75446bb5ca3137fccef8426ddd7
Fix issue #258640: Automatic propagation of FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET

Make sure, if an activity is started with clear task when reset, if that
activity is finished in the middle of a stack that the behavior is retained
by propagating it to the next activity.

Change-Id: Ie31b8f968558b0e64e0ef7efa55950a722c6afa5
services/java/com/android/server/am/ActivityManagerService.java