DescriptionFiles.app: Fix exception thrown by ContentProvider if getLatest is called with the type 'media|thumbnail'.
Previously there is assumption in ContentProvider#fetch that only one request is
called for one URL at the same time, and the next request is never called before
the previous request completes. But actually multiple requests can be called for
each meatadata type. ContentProvider handles 'media' and 'thumbnail' metadata
type, so if both metadata type is specified, it causes an exception in
ContentProvider.
BUG=446396
TEST=FileManagerJsTest.MetadataCache
Committed: https://crrev.com/a2fac13bb5fcc690f8d8e8d81a680c1b85b523c0
Cr-Commit-Position: refs/heads/master@{#310061}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fixed. #
Messages
Total messages: 8 (2 generated)
|