Skip to content

Commit

Permalink
Remove unnecessary method in ChannelFragment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Isira-Seneviratne committed Jul 21, 2022
1 parent 8b400b4 commit 6d1c614
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -578,17 +578,13 @@ private void showContentNotSupportedIfNeeded() {
}

private PlayQueue getPlayQueue() {
return getPlayQueue(0);
}

private PlayQueue getPlayQueue(final int index) {
final List<StreamInfoItem> streamItems = infoListAdapter.getItemsList().stream()
.filter(StreamInfoItem.class::isInstance)
.map(StreamInfoItem.class::cast)
.collect(Collectors.toList());

return new ChannelPlayQueue(currentInfo.getServiceId(), currentInfo.getUrl(),
currentInfo.getNextPage(), streamItems, index);
currentInfo.getNextPage(), streamItems, 0);
}

/*//////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 6d1c614

Please sign in to comment.