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

Commit 464d9fbf authored by Scott Randolph's avatar Scott Randolph Committed by Android (Google) Code Review
Browse files

Merge "Use explicit .c_str() for hidl_string" into oc-dev

parents 97e6e199 c1d17710
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -411,7 +411,7 @@ Return<void> TWOmxNode::getExtensionIndex(
        getExtensionIndex_cb _hidl_cb) {
    OMX_INDEXTYPE index;
    Status status = toStatus(mBase->getExtensionIndex(
            parameterName, &index));
            parameterName.c_str(), &index));
    _hidl_cb(status, toRawIndexType(index));
    return Void();
}
+2 −2
Original line number Diff line number Diff line
@@ -95,11 +95,11 @@ Return<void> Omx::allocateNode(
    }

    sp<OMXNodeInstance> instance = new OMXNodeInstance(
            this, new LWOmxObserver(observer), name);
            this, new LWOmxObserver(observer), name.c_str());

    OMX_COMPONENTTYPE *handle;
    OMX_ERRORTYPE err = mMaster->makeComponentInstance(
            name, &OMXNodeInstance::kCallbacks,
            name.c_str(), &OMXNodeInstance::kCallbacks,
            instance.get(), &handle);

    if (err != OMX_ErrorNone) {
+1 −1
Original line number Diff line number Diff line
@@ -414,7 +414,7 @@ Return<void> TWOmxNode::getExtensionIndex(
        getExtensionIndex_cb _hidl_cb) {
    OMX_INDEXTYPE index;
    Status status = toStatus(mBase->getExtensionIndex(
            parameterName, &index));
            parameterName.c_str(), &index));
    _hidl_cb(status, toRawIndexType(index));
    return Void();
}