Skip to content

Commit

Permalink
Disable media tunneling on Philips QM16XE
Browse files Browse the repository at this point in the history
  • Loading branch information
Redirion authored and TobiGr committed Dec 23, 2021
1 parent c90237c commit 8c6e37d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/src/main/java/org/schabi/newpipe/util/DeviceUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public final class DeviceUtils {
// Hilife TV
private static final boolean REALTEKATV = Build.VERSION.SDK_INT == 25
&& Build.DEVICE.equals("RealtekATV");
// Philips QM16XE
private static final boolean QM16XE_U = Build.VERSION.SDK_INT == 23
&& Build.DEVICE.equals("QM16XE_U");

private DeviceUtils() {
}
Expand Down Expand Up @@ -134,7 +137,8 @@ public static boolean shouldSupportMediaTunneling() {
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP
&& !HI3798MV200
&& !CVT_MT5886_EU_1G
&& !REALTEKATV;
&& !REALTEKATV
&& !QM16XE_U;
}

public static boolean isLandscape(final Context context) {
Expand Down

0 comments on commit 8c6e37d

Please sign in to comment.