Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2b5dfbc2 authored by Wei Jia's avatar Wei Jia
Browse files

MediaPlayer2: fix checking for next datasources

Test: cts testPlaylist
Bug: 122073361
Change-Id: I0306b09b1f5d3796a4a74d4fe76a5c53d1ea6f57
parent 27b6918c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
                    }