MediaPlayer2: fix checking for next datasources
Test: cts testPlaylist Bug: 122073361 Change-Id: I0306b09b1f5d3796a4a74d4fe76a5c53d1ea6f57
This commit is contained in:
@@ -775,7 +775,7 @@ public class MediaPlayer2 implements AutoCloseable
|
||||
}
|
||||
boolean hasError = false;
|
||||
for (DataSourceDesc dsd : dsds) {
|
||||
if (dsd != null) {
|
||||
if (dsd == null) {
|
||||
hasError = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user