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

Commit e60c7cff authored by Pawin Vongmasa's avatar Pawin Vongmasa
Browse files

Rename "bitrate-control" to "bitrate-modes"

Test: make cts -j123 && cts-tradefed run cts-dev -m \
CtsMediaTestCases --compatibility:module-arg \
CtsMediaTestCases:include-annotation:\
android.platform.test.annotations.RequiresDevice

Bug: 65769027
Change-Id: I09e92841daffdb09d9e236d590462f345f7a1ed8
parent e0de1cdc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -61,9 +61,9 @@ status_t queryCapabilities(
    }
    for (const auto& attribute : node.attributes) {
        // All features have an int32 value except
        // "feature-bitrate-control", which has a string value.
        // "feature-bitrate-modes", which has a string value.
        if ((attribute.key.compare(0, 8, "feature-") == 0) &&
                (attribute.key.compare(8, 15, "bitrate-control")
                (attribute.key.compare(8, 15, "bitrate-modes")
                 != 0)) {
            // If this attribute.key is a feature that is not a bitrate
            // control, add an int32 value.