Merge pull request #7497 from TeamNewPipe/fix-qm16xe

Disable media tunneling on Philips QM16XE
This commit is contained in:
litetex 2021-12-06 20:54:07 +01:00 committed by GitHub
commit 4fc9443b4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -37,6 +37,9 @@ public final class DeviceUtils {
// Hilife TV // Hilife TV
private static final boolean REALTEKATV = Build.VERSION.SDK_INT == 25 private static final boolean REALTEKATV = Build.VERSION.SDK_INT == 25
&& Build.DEVICE.equals("RealtekATV"); && Build.DEVICE.equals("RealtekATV");
// Philips QM16XE
private static final boolean QM16XE_U = Build.VERSION.SDK_INT == 23
&& Build.DEVICE.equals("QM16XE_U");
private DeviceUtils() { private DeviceUtils() {
} }
@ -134,7 +137,8 @@ public final class DeviceUtils {
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP
&& !HI3798MV200 && !HI3798MV200
&& !CVT_MT5886_EU_1G && !CVT_MT5886_EU_1G
&& !REALTEKATV; && !REALTEKATV
&& !QM16XE_U;
} }
public static boolean isLandscape(final Context context) { public static boolean isLandscape(final Context context) {