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

Commit 1add7de1 authored by Huihong Luo's avatar Huihong Luo Committed by Automerger Merge Worker
Browse files

Add pending command buffer reset am: 3fd3acc9

parents b1f0d8c0 3fd3acc9
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -769,6 +769,7 @@ Error AidlComposer::execute() {
        auto status = mAidlComposerClient->executeCommands(commands, &results);
        if (!status.isOk()) {
            ALOGE("executeCommands failed %s", status.getDescription().c_str());
            mWriter.reset();
            return static_cast<Error>(status.getServiceSpecificError());
        }

@@ -780,6 +781,7 @@ Error AidlComposer::execute() {
        const auto index = static_cast<size_t>(cmdErr.commandIndex);
        if (index < 0 || index >= commands.size()) {
            ALOGE("invalid command index %zu", index);
            mWriter.reset();
            return Error::BAD_PARAMETER;
        }