Commit 4d282b22 by Oliver Woodman

Merge pull request #5216 from mseroczynski:dev-v2

PiperOrigin-RevId: 225966289
parents 3dc72a69 9fa25252
...@@ -35,6 +35,8 @@ ...@@ -35,6 +35,8 @@
* DownloadManager: * DownloadManager:
* Create only one task for all DownloadActions for the same content. * Create only one task for all DownloadActions for the same content.
* Rename TaskState to DownloadState. * Rename TaskState to DownloadState.
* MP3: Fix issue where streams would play twice on some Samsung devices
([#4519](https://github.com/google/ExoPlayer/issues/4519)).
### 2.9.2 ### ### 2.9.2 ###
......
...@@ -318,7 +318,20 @@ public final class MediaCodecUtil { ...@@ -318,7 +318,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) && "SM-T530".equals(Util.MODEL)) { if ("OMX.SEC.mp3.dec".equals(name)
&& ("GT-I9152".equals(Util.MODEL)
|| "GT-I9515".equals(Util.MODEL)
|| "GT-P5220".equals(Util.MODEL)
|| "GT-S7580".equals(Util.MODEL)
|| "SM-G350".equals(Util.MODEL)
|| "SM-T231".equals(Util.MODEL)
|| "SM-T530".equals(Util.MODEL))) {
return false;
}
if ("OMX.brcm.audio.mp3.decoder".equals(name)
&& ("GT-I9152".equals(Util.MODEL)
|| "GT-S7580".equals(Util.MODEL)
|| "SM-G350".equals(Util.MODEL))) {
return false; return false;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment