Merge "Make sure the ThrottledSource reports the proper mime type"
This commit is contained in:
committed by
Android (Google) Code Review
commit
fa78fe0d70
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user