diff options
| author | 2016-04-08 09:48:02 +0900 | |
|---|---|---|
| committer | 2016-04-11 14:32:03 +0900 | |
| commit | 76be46f4d9314fd7daca0985a0a7e02126d85975 (patch) | |
| tree | b3228c65ebc11dbf03924e62c3acea52b1f6d0f6 /libs/hwui/PathParser.cpp | |
| parent | 75aee0a681a763b8de67cb078ca3e520f65c8efe (diff) | |
Fix crash when deleting multiple files.
When deleting files, MtpDocumentsProvider clears LoadingTask in
DocumentsLoader to update directory contents list. Previously it can
clear ongoing task, and it skips calling Mapper#stopAddingDocuments.
Since Mapper#startAddingDocuments and Mapper#stopAddingDocuments must be
called 1 to 1, it causes precondition check failure at the next call of
Mapper#startAddingDocuments.
Change-Id: I23e2b117da826297e45404be4db4cc29f96e5510
Fix: 28076320
Diffstat (limited to 'libs/hwui/PathParser.cpp')
0 files changed, 0 insertions, 0 deletions