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

Commit f2021435 authored by Wei Jia's avatar Wei Jia Committed by Android (Google) Code Review
Browse files

Merge "MediaDataSource: add getFlags()"

parents 3311dc17 fbc164ba
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