OSDN Git Service

Prevent trimming recent tasks belonging in different stacks.
authorWinson <winsonc@google.com>
Wed, 8 Jun 2016 19:49:54 +0000 (12:49 -0700)
committerWinson Chung <winsonc@google.com>
Mon, 13 Jun 2016 17:16:03 +0000 (17:16 +0000)
commit29dbc3cc47a27ae09f0f5aacd778aded427444bc
tree4f6a042283827e0931e0e45b93c9c9b761851812
parent6f1ed200b3aa01af88eb309a55a428ceac56a9a2
Prevent trimming recent tasks belonging in different stacks.

- When launching an adjacent task, we usually have the same activity
  not necessarily launched with MULTIPLE_TASK, so the old recent task
  is incorrectly found removed.

Bug: 29121819
Change-Id: Id3bbafe0d3c535fd1a05bb373e521345c18f43d5
services/core/java/com/android/server/am/RecentTasks.java