diff options
author | Mike Lockwood <lockwood@android.com> | 2011-04-25 09:52:26 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-04-25 09:52:26 -0700 |
commit | b5fe7f5346de1623331d784634cc10fa406771c4 (patch) | |
tree | 1ab6351de32cae2bb690dd19e59768487bacd405 /include | |
parent | 37c0cf28f7568e812743a97d502031e30545f565 (diff) | |
parent | c5182e31b23dc381d21ef43b7f7d682ffc54bd79 (diff) | |
download | frameworks_av-b5fe7f5346de1623331d784634cc10fa406771c4.zip frameworks_av-b5fe7f5346de1623331d784634cc10fa406771c4.tar.gz frameworks_av-b5fe7f5346de1623331d784634cc10fa406771c4.tar.bz2 |
Merge "MediaScanner: reimplement the ".nomedia" feature for hiding files from the media provider"
Diffstat (limited to 'include')
-rw-r--r-- | include/media/mediascanner.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/media/mediascanner.h b/include/media/mediascanner.h index df5be32..765c039 100644 --- a/include/media/mediascanner.h +++ b/include/media/mediascanner.h @@ -55,7 +55,7 @@ private: status_t doProcessDirectory( char *path, int pathRemaining, MediaScannerClient &client, - ExceptionCheck exceptionCheck, void *exceptionEnv); + bool noMedia, ExceptionCheck exceptionCheck, void *exceptionEnv); MediaScanner(const MediaScanner &); MediaScanner &operator=(const MediaScanner &); @@ -72,10 +72,9 @@ public: void endFile(); virtual bool scanFile(const char* path, long long lastModified, - long long fileSize, bool isDirectory) = 0; + long long fileSize, bool isDirectory, bool noMedia) = 0; virtual bool handleStringTag(const char* name, const char* value) = 0; virtual bool setMimeType(const char* mimeType) = 0; - virtual bool addNoMediaFolder(const char* path) = 0; protected: void convertValues(uint32_t encoding); |