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

Commit bd9c9a80 authored by Andreas Huber's avatar Andreas Huber
Browse files

Make sure the ThrottledSource reports the proper mime type

of the underlying source.

Change-Id: I7cfd5c9f10d4b07781ed82fbdc9bf3db2e86cf84
parent 27a0d83f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -35,6 +35,11 @@ struct ThrottledSource : public DataSource {
    virtual status_t getSize(off64_t *size);
    virtual uint32_t flags();

    virtual String8 getMIMEType() const {
        return mSource->getMIMEType();
    }


private:
    Mutex mLock;