Merge pull request #5223 from jonasburian/issue-seekbar-highlighting
Highlighted seek bar while seeking on episode without chapters
This commit is contained in:
commit
90753cb8e1
|
@ -166,7 +166,7 @@ public class AudioPlayerFragment extends Fragment implements
|
|||
|
||||
float[] dividerPos = null;
|
||||
|
||||
if (media.getChapters() != null) {
|
||||
if (media.getChapters() != null && !media.getChapters().isEmpty()) {
|
||||
List<Chapter> chapters = media.getChapters();
|
||||
dividerPos = new float[chapters.size()];
|
||||
|
||||
|
|
Loading…
Reference in New Issue