commit | 66dfcd465c02d78cb4ff22e7b509ee42d4309286 | [log] [tgz] |
---|---|---|
author | Marco Nelissen <marcone@google.com> | Wed Feb 27 16:16:11 2013 -0800 |
committer | Marco Nelissen <marcone@google.com> | Wed Feb 27 16:53:47 2013 -0800 |
tree | bf7f6e22489a3c20370de540830db200e70818f6 | |
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