diff options
| author | 2013-02-27 16:16:11 -0800 | |
|---|---|---|
| committer | 2013-02-27 16:53:47 -0800 | |
| commit | 66dfcd465c02d78cb4ff22e7b509ee42d4309286 (patch) | |
| tree | bf7f6e22489a3c20370de540830db200e70818f6 /libs/hwui/ProgramCache.cpp | |
| parent | d041e476f3c959f5b373b64a329aa427d057375e (diff) | |
When scanning a single file, take .nomedia into account
Make scanSingleFile behave the same way as scanMtpFile, by taking into
account whether there's a .nomedia file guarding the file being scanned.
Without this, downloaded (or otherwise explicitly scanned) images/video/music
will appear in Gallery and Music even if a .nomedia file is hiding them.
Change-Id: Ib9ad4bda1b9a942f79a37ccd8e6a54d57710f528
Diffstat (limited to 'libs/hwui/ProgramCache.cpp')
0 files changed, 0 insertions, 0 deletions