Check sys.display-size on Philips ATVs
Device models are from https://support.google.com/googleplay/answer/1727131?hl=en. It looks like among these devices Build.MANUFACTURER can be set to either "PHILIPS" or "Philips", based on looking at internal bug reports. Issue: #3807 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185121182
This commit is contained in:
parent
542855b6eb
commit
6aad066d51
@ -94,6 +94,8 @@
|
||||
* Fix potential NPE when removing media sources from a
|
||||
DynamicConcatenatingMediaSource
|
||||
([#3796](https://github.com/google/ExoPlayer/issues/3796)).
|
||||
* Check `sys.display-size` on Philips ATVs
|
||||
([#3807](https://github.com/google/ExoPlayer/issues/3807)).
|
||||
|
||||
### 2.6.1 ###
|
||||
|
||||
|
@ -1334,7 +1334,11 @@ public final class Util {
|
||||
if ("Sony".equals(Util.MANUFACTURER) && Util.MODEL.startsWith("BRAVIA")
|
||||
&& context.getPackageManager().hasSystemFeature("com.sony.dtv.hardware.panel.qfhd")) {
|
||||
return new Point(3840, 2160);
|
||||
} else if ("NVIDIA".equals(Util.MANUFACTURER) && Util.MODEL.contains("SHIELD")) {
|
||||
} else if (("NVIDIA".equals(Util.MANUFACTURER) && Util.MODEL.contains("SHIELD"))
|
||||
|| ("philips".equals(Util.toLowerInvariant(Util.MANUFACTURER))
|
||||
&& (Util.MODEL.startsWith("QM1")
|
||||
|| Util.MODEL.equals("QV151E")
|
||||
|| Util.MODEL.equals("TPM171E")))) {
|
||||
// Attempt to read sys.display-size.
|
||||
String sysDisplaySize = null;
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user