mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-26 06:22:45 +00:00
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
This commit is contained in:
parent
ce0b19605a
commit
17cf711c3d
@ -124,7 +124,7 @@ public class MediaCodecHelper {
|
|||||||
whitelistedHevcDecoders = new LinkedList<>();
|
whitelistedHevcDecoders = new LinkedList<>();
|
||||||
|
|
||||||
// Allow software HEVC decoding in the official AOSP emulator
|
// 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");
|
whitelistedHevcDecoders.add("omx.google");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user