mirror of
https://github.com/androidx/media.git
synced 2025-05-08 08:00:49 +08:00
Blacklist OMX.SEC.mp3.dec for more devices
Issue #4519 PiperOrigin-RevId: 226205245
This commit is contained in:
parent
975ed6c277
commit
ca9ecaa448
@ -319,19 +319,20 @@ public final class MediaCodecUtil {
|
|||||||
|
|
||||||
// Work around https://github.com/google/ExoPlayer/issues/4519.
|
// Work around https://github.com/google/ExoPlayer/issues/4519.
|
||||||
if ("OMX.SEC.mp3.dec".equals(name)
|
if ("OMX.SEC.mp3.dec".equals(name)
|
||||||
&& ("GT-I9152".equals(Util.MODEL)
|
&& (Util.MODEL.startsWith("GT-I9152")
|
||||||
|| "GT-I9515".equals(Util.MODEL)
|
|| Util.MODEL.startsWith("GT-I9515")
|
||||||
|| "GT-P5220".equals(Util.MODEL)
|
|| Util.MODEL.startsWith("GT-P5220")
|
||||||
|| "GT-S7580".equals(Util.MODEL)
|
|| Util.MODEL.startsWith("GT-S7580")
|
||||||
|| "SM-G350".equals(Util.MODEL)
|
|| Util.MODEL.startsWith("SM-G350")
|
||||||
|| "SM-T231".equals(Util.MODEL)
|
|| Util.MODEL.startsWith("SM-G386")
|
||||||
|| "SM-T530".equals(Util.MODEL))) {
|
|| Util.MODEL.startsWith("SM-T231")
|
||||||
|
|| Util.MODEL.startsWith("SM-T530"))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ("OMX.brcm.audio.mp3.decoder".equals(name)
|
if ("OMX.brcm.audio.mp3.decoder".equals(name)
|
||||||
&& ("GT-I9152".equals(Util.MODEL)
|
&& (Util.MODEL.startsWith("GT-I9152")
|
||||||
|| "GT-S7580".equals(Util.MODEL)
|
|| Util.MODEL.startsWith("GT-S7580")
|
||||||
|| "SM-G350".equals(Util.MODEL))) {
|
|| Util.MODEL.startsWith("SM-G350"))) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user