mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
Add Asus ZenPad 8.0 to blacklist
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
10c7572024
commit
d7b6631951
@ -83,12 +83,14 @@ public class MagicWebRTCUtils {
|
||||
add("CHIRON"); // Xiaomi Mi Mix 2
|
||||
add("HWVNS-H"); // Huawei P9 Lite
|
||||
add("HWVNS-Q"); // Huawei P9 Lite
|
||||
add("P00A"); // Asus ZenPad 8.0
|
||||
}};
|
||||
|
||||
private static Set<String> HARDWARE_ACCELERATION_VENDOR_BLACKLIST = new HashSet<String>() {{
|
||||
add("samsung");
|
||||
}};
|
||||
|
||||
|
||||
public static boolean shouldEnableVideoHardwareAcceleration() {
|
||||
return (!HARDWARE_ACCELERATION_VENDOR_BLACKLIST.contains(Build.MANUFACTURER.toLowerCase())
|
||||
&& !HARDWARE_ACCELERATION_DEVICE_BLACKLIST.contains(Build.MODEL.toUpperCase()));
|
||||
|
Loading…
Reference in New Issue
Block a user