MediaDataSource: add getFlags()

Bug: 26533748
Change-Id: I980b833da47b54d94ecc5fedbd75ce69e59925fb
This commit is contained in:
Wei Jia
2016-01-27 14:26:03 -08:00
parent 670d54c8e3
commit fbc164ba3c
2 changed files with 5 additions and 0 deletions

View File

@@ -150,4 +150,8 @@ void JMediaDataSource::close() {
mJavaObjStatus = UNKNOWN_ERROR;
}
uint32_t JMediaDataSource::getFlags() {
return 0;
}
} // namespace android

View File

@@ -45,6 +45,7 @@ public:
virtual ssize_t readAt(off64_t offset, size_t size);
virtual status_t getSize(off64_t* size);
virtual void close();
virtual uint32_t getFlags();
private:
// Protect all member variables with mLock because this object will be