mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Blacklist Moto E(4) from setOutputSurface.
GitHub: #4134. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=196562078
This commit is contained in:
parent
eb151a79e6
commit
d3d4b33cac
@ -8,6 +8,8 @@
|
||||
* Add `PlayerView.setKeepContentOnPlayerReset` to keep the currently displayed
|
||||
video frame or media artwork visible when the player is reset
|
||||
([#2843](https://github.com/google/ExoPlayer/issues/2843)).
|
||||
* Fix crash when switching surface on Moto E(4)
|
||||
([#4134](https://github.com/google/ExoPlayer/issues/4134)).
|
||||
|
||||
### 2.8.0 ###
|
||||
|
||||
|
@ -1178,6 +1178,7 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
|
||||
// https://github.com/google/ExoPlayer/issues/4006,
|
||||
// https://github.com/google/ExoPlayer/issues/4084,
|
||||
// https://github.com/google/ExoPlayer/issues/4104.
|
||||
// https://github.com/google/ExoPlayer/issues/4134.
|
||||
return (("deb".equals(Util.DEVICE) // Nexus 7 (2013)
|
||||
|| "flo".equals(Util.DEVICE) // Nexus 7 (2013)
|
||||
|| "mido".equals(Util.DEVICE) // Redmi Note 4
|
||||
@ -1190,7 +1191,8 @@ public class MediaCodecVideoRenderer extends MediaCodecRenderer {
|
||||
|| "F3311".equals(Util.DEVICE) // Sony Xperia E5
|
||||
|| "M5c".equals(Util.DEVICE) // Meizu M5C
|
||||
|| "QM16XE_U".equals(Util.DEVICE) // Philips QM163E
|
||||
|| "A7010a48".equals(Util.DEVICE)) // Lenovo K4 Note
|
||||
|| "A7010a48".equals(Util.DEVICE) // Lenovo K4 Note
|
||||
|| "woods_f".equals(Util.MODEL)) // Moto E (4)
|
||||
&& "OMX.MTK.VIDEO.DECODER.AVC".equals(name))
|
||||
|| (("ALE-L21".equals(Util.MODEL) // Huawei P8 Lite
|
||||
|| "CAM-L21".equals(Util.MODEL)) // Huawei Y6II
|
||||
|
Loading…
x
Reference in New Issue
Block a user