mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-23 08:30:44 +00:00
Disable media tunneling on cvt_mt5886_eu_1g (#6024)
* Disable media tunneling on cvt_mt5886_eu_1g
Follow-up to 4a9d21062a
.
This commit is contained in:
parent
76322d8089
commit
cf3cc2e984
@ -26,6 +26,9 @@ public final class DeviceUtils {
|
|||||||
// Formuler Z8 Pro, Z8, CC, Z Alpha, Z+ Neo
|
// Formuler Z8 Pro, Z8, CC, Z Alpha, Z+ Neo
|
||||||
private static final boolean HI3798MV200 = Build.VERSION.SDK_INT == 24
|
private static final boolean HI3798MV200 = Build.VERSION.SDK_INT == 24
|
||||||
&& Build.DEVICE.equals("Hi3798MV200");
|
&& 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() {
|
private DeviceUtils() {
|
||||||
}
|
}
|
||||||
@ -103,7 +106,7 @@ public final class DeviceUtils {
|
|||||||
*/
|
*/
|
||||||
public static boolean shouldSupportMediaTunneling() {
|
public static boolean shouldSupportMediaTunneling() {
|
||||||
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP
|
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP
|
||||||
&& !HI3798MV200;
|
&& !HI3798MV200
|
||||||
|
&& !CVT_MT5886_EU_1G;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user