mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-26 14:00:08 +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:
1 parent
ce0b19605a
commit
17cf711c3d
1 file changed
+1
-1
@@ -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");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user