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

Commit eb38e6fa authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fixed a invalid fd issue" into rvc-dev am: 6f8ee88a am: ddc29f77

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11978883

Change-Id: Ife080e210b4657db222edcf066f272eabcadce59
parents 0432c04b ddc29f77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -335,7 +335,7 @@ jobject MediaEvent::getLinearBlock() {
    if (mLinearBlockObj != NULL) {
        return mLinearBlockObj;
    }
    mIonHandle = new C2HandleIon(mAvHandle->data[0], mDataLength);
    mIonHandle = new C2HandleIon(dup(mAvHandle->data[0]), mDataLength);
    std::shared_ptr<C2LinearBlock> block = _C2BlockFactory::CreateLinearBlock(mIonHandle);

    JNIEnv *env = AndroidRuntime::getJNIEnv();