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

Commit 41bf6fa7 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 (2)" am: a78fa61b

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

Change-Id: Ifb7b56c1e3088183cc2881a1b75b6b09ab549255
parents 7052180c a78fa61b
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;