diff options
author | Mike Lockwood <lockwood@android.com> | 2011-04-24 11:15:09 -0700 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-05-03 21:03:56 -0400 |
commit | 9c112a86def2f5e21705b29f906aadcb7fafb067 (patch) | |
tree | 1cba6eb0a32786b87527e810b843e49e0e08a5db /media/mtp | |
parent | 1cf74fb3c46f107d95a87c7c4ab88c421758f41e (diff) | |
download | frameworks_base-9c112a86def2f5e21705b29f906aadcb7fafb067.zip frameworks_base-9c112a86def2f5e21705b29f906aadcb7fafb067.tar.gz frameworks_base-9c112a86def2f5e21705b29f906aadcb7fafb067.tar.bz2 |
DO NOT MERGE MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider
Previously we ignored any files and directories that had name started with '.'
and ignored any directories that contained a ".nomedia" file.
Now to support transferring any file via MTP, we now add these previously ignored files
to the media database, but will not mark them as audio, video, image or playlist files.
That way they will be included in the files table but will be hidden from the
audio, video, images and playlist views that are used by apps like Music and Gallery.
Bug: 3405327
Change-Id: Ibb37bb2856a0684ce9f685ed565ad35347622834
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp')
0 files changed, 0 insertions, 0 deletions