OSDN Git Service

Add locking when mutating RecentTasks.
authorJeff Sharkey <jsharkey@android.com>
Tue, 20 Oct 2015 00:46:04 +0000 (17:46 -0700)
committerJeff Sharkey <jsharkey@android.com>
Tue, 20 Oct 2015 00:46:08 +0000 (17:46 -0700)
commita11234794acbc94e4808b7dd57f8337b1aa51f1f
tree1c788270f536e2402d1e80b90295cb4292bf219b
parent56859f323c1e7da9d537478e080d73614b207376
Add locking when mutating RecentTasks.

Otherwise there is a really rare race condition where we try tearing
down the tasks while we're still setting them up.

Bug: 25078914
Change-Id: Icf89241f9abec3fadc8606cfb4fbc029bbe91515
packages/DocumentsUI/src/com/android/documentsui/RecentLoader.java