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

Commit 48c3086c authored by Uma Mehta's avatar Uma Mehta
Browse files

CodecConfig: Hide vendor params that are marked hidden

Do not expose parameters marked as 'IS_HIDDEN' to
the clients

b/226121597
CRs-Fixed: 3157491

Change-Id: I518f807e9bbf5c6b33aac3d3a724d8bba60d4bb7
parent 0b505d42
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1893,8 +1893,10 @@ status_t CCodecConfig::querySupportedParameters(std::vector<std::string> *names)
    names->clear();
    // TODO: expand to standard params
    for (const auto &[key, desc] : mVendorParams) {
        if (desc->isVisible()) {
            names->push_back(key);
        }
    }
    return OK;
}