Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 365928e6 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 23835 into eclair

* changes:
  When encountering a .nomedia file, notify the MediaScannerClient, so that it can erase the data column for entries that are in the folder containing the .nomedia file. This prevents us from deleting (via a delete trigger) files when somebody adds a .nomedia file after the fact.
parents 7a6b9e2e f482a41c
Loading
Loading
Loading
Loading
+11 −10
Original line number Diff line number Diff line
@@ -69,6 +69,7 @@ public:
    virtual bool scanFile(const char* path, long long lastModified, long long fileSize) = 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);