Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Commit

Permalink
Fix Logical Bug
Browse files Browse the repository at this point in the history
doPlaylistContainsAllSongs returned true if the playlist was empty. That's a wrong result, hence fixed with this commit.
  • Loading branch information
Sogolumbo committed Aug 22, 2020
1 parent ec16d51 commit 28cbfa8
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,9 @@ else if(songIdsSorted[songIndex] == playlistSong)
}
playlistSongs.close();
}
else {
result = false;
}
} catch (SecurityException ignored) {
}

Expand Down

0 comments on commit 28cbfa8

Please sign in to comment.