Several hidden bugfixes around Track.Id

This commit is contained in:
Román
2020-09-09 17:34:44 +02:00
committed by Dennis Guse
parent a61468d600
commit a6e275f8aa
6 changed files with 7 additions and 7 deletions
@@ -250,7 +250,7 @@ public class SearchEngine {
score *= getTimeBoost(query, meanTimestamp);
// Score the currently-selected track lower (user is already there, wouldn't be searching for it).
if (track.getId() == query.currentTrackId) {
if (track.getId().equals(query.currentTrackId)) {
score *= CURRENT_TRACK_DEMOTION;
}