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

Commit f4271d9a authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "MediaCodecInfo: do not alter performance points for 32-bit processes...

Merge "MediaCodecInfo: do not alter performance points for 32-bit processes (2)" am: a78fa61b am: 41bf6fa7

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1787047

Change-Id: Ia2fb9292e584c29c1894a2ed9774c9c4e40350d4
parents 348f176f 41bf6fa7
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2281,12 +2281,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;