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

Commit fbc164ba authored by Wei Jia's avatar Wei Jia
Browse files

MediaDataSource: add getFlags()

Bug: 26533748
Change-Id: I980b833da47b54d94ecc5fedbd75ce69e59925fb
parent 670d54c8
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -150,4 +150,8 @@ void JMediaDataSource::close() {
    mJavaObjStatus = UNKNOWN_ERROR;
}

uint32_t JMediaDataSource::getFlags() {
    return 0;
}

}  // namespace android
+1 −0
Original line number Diff line number Diff line
@@ -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