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

Commit 11993758 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Set the correct message for OMX's death"

parents 44c5e40b 326bea5e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6667,7 +6667,7 @@ bool ACodec::UninitializedState::onAllocateComponent(const sp<AMessage> &msg) {
        return false;
    }

    mDeathNotifier = new DeathNotifier(notify);
    mDeathNotifier = new DeathNotifier(new AMessage(kWhatOMXDied, mCodec));
    auto tOmxNode = omxNode->getHalInterface<IOmxNode>();
    if (tOmxNode && !tOmxNode->linkToDeath(mDeathNotifier, 0)) {
        mDeathNotifier.clear();