summaryrefslogtreecommitdiffstats
path: root/media/mtp/MtpServer.h
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-04-24 11:15:09 -0700
committerMike Lockwood <lockwood@android.com>2011-04-25 09:21:54 -0700
commitc5182e31b23dc381d21ef43b7f7d682ffc54bd79 (patch)
treeab36b201a453458e64f75f53b4d5dc2bfb4888df /media/mtp/MtpServer.h
parent7c1bc4cb2260f666a2fba9e64bb9de95121f0b22 (diff)
downloadframeworks_av-c5182e31b23dc381d21ef43b7f7d682ffc54bd79.zip
frameworks_av-c5182e31b23dc381d21ef43b7f7d682ffc54bd79.tar.gz
frameworks_av-c5182e31b23dc381d21ef43b7f7d682ffc54bd79.tar.bz2
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: I2d7285bd32e06c1a5c4ef6a8a15f8f8b2c33b39b Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'media/mtp/MtpServer.h')
0 files changed, 0 insertions, 0 deletions