DescriptionFiles.app: Stop to use drive thumbnail for cached files.
Previously ThumbnailLoader refers both metadata.thumbnail.url and
meatadata.external.thumbnailUrl. Thus it loads external thumbnail even if the
file is cached locally.
The CL fixes the logic and stop to use drive thumbnail for image files that are
cached. Note that if the file is not an image, use drive thumbnail always
because Files.app does not have logic to generate thumbnail from non-image
files.
BUG=446827
TEST=Added
Committed: https://crrev.com/d102ac3f7aa2d7759f1226ef65744d589bf4f676
Cr-Commit-Position: refs/heads/master@{#310729}
Patch Set 1 #
Total comments: 4
Patch Set 2 : #Patch Set 3 : #
Total comments: 4
Patch Set 4 : Fix. #Messages
Total messages: 18 (2 generated)
|