From 17cf711c3d7193f0b9ccb31eefab8004ec300f57 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 8 Nov 2020 20:40:59 -0600 Subject: [PATCH] Don't check brand when whitelisting ranchu for HEVC HarmonyOS also uses "ranchu" as the hardware name, but doesn't use "google" as the brand name --- .../main/java/com/limelight/binding/video/MediaCodecHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java b/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java index ef21c370..6f66306e 100644 --- a/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java +++ b/app/src/main/java/com/limelight/binding/video/MediaCodecHelper.java @@ -124,7 +124,7 @@ public class MediaCodecHelper { whitelistedHevcDecoders = new LinkedList<>(); // Allow software HEVC decoding in the official AOSP emulator - if (Build.HARDWARE.equals("ranchu") && Build.BRAND.equals("google")) { + if (Build.HARDWARE.equals("ranchu")) { whitelistedHevcDecoders.add("omx.google"); }