Disable media tunneling on cvt_mt5886_eu_1g (#6024)

* Disable media tunneling on cvt_mt5886_eu_1g

Follow-up to 4a9d21062a.
pull/6025/head
Davide Beatrici 2021-04-08 05:21:57 +02:00 zatwierdzone przez GitHub
rodzic 76322d8089
commit cf3cc2e984
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -26,6 +26,9 @@ public final class DeviceUtils {
// Formuler Z8 Pro, Z8, CC, Z Alpha, Z+ Neo
private static final boolean HI3798MV200 = Build.VERSION.SDK_INT == 24
&& Build.DEVICE.equals("Hi3798MV200");
// Zephir TS43UHD-2
private static final boolean CVT_MT5886_EU_1G = Build.VERSION.SDK_INT == 24
&& Build.DEVICE.equals("cvt_mt5886_eu_1g");
private DeviceUtils() {
}
@ -103,7 +106,7 @@ public final class DeviceUtils {
*/
public static boolean shouldSupportMediaTunneling() {
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP
&& !HI3798MV200;
&& !HI3798MV200
&& !CVT_MT5886_EU_1G;
}
}