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

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

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

The property name that is listed in xml files is
"bitrate-modes", not bit "bitrate-control".

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: Ifef752e05cac3b868cee76ce69f1763c075f10ec
parent 09545e3f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2749,8 +2749,8 @@ public final class MediaCodecInfo {
                mQualityRange = Utils
                        .parseIntRange(info.getString("quality-range"), mQualityRange);
            }
            if (info.containsKey("feature-bitrate-control")) {
                for (String mode: info.getString("feature-bitrate-control").split(",")) {
            if (info.containsKey("feature-bitrate-modes")) {
                for (String mode: info.getString("feature-bitrate-modes").split(",")) {
                    mBitControl |= parseBitrateMode(mode);
                }
            }