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

Commit bd9dce3c authored by Wonsik Kim's avatar Wonsik Kim
Browse files

MediaCodecInfo: do not alter performance points for 32-bit processes (2)

Bug: 191343377
Test: atest CtsMediaTestCases:MediaCodecListTest
Change-Id: I1ce70dadfeaf2e7989339e4564a1dba37b3203b6
parent 103308ad
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2178,12 +2178,6 @@ public final class MediaCodecInfo {
                if (size == null || size.getWidth() * size.getHeight() <= 0) {
                    continue;
                }
                if (size.getWidth() > SIZE_RANGE.getUpper()
                        || size.getHeight() > SIZE_RANGE.getUpper()) {
                    size = new Size(
                            Math.min(size.getWidth(), SIZE_RANGE.getUpper()),
                            Math.min(size.getHeight(), SIZE_RANGE.getUpper()));
                }
                Range<Long> range = Utils.parseLongRange(map.get(key), null);
                if (range == null || range.getLower() < 0 || range.getUpper() < 0) {
                    continue;