Removed unused database references

This commit is contained in:
CappielloAntonio
2021-07-28 15:28:32 +02:00
parent ca1831d23c
commit ce79bda976
46 changed files with 182 additions and 1975 deletions

View File

@@ -381,8 +381,6 @@ public class MusicService extends Service implements Playback.PlaybackCallbacks
nextPosition = getNextPosition();
playback.queueDataSource(getSongAt(nextPosition));
}
increaseSongCount();
}
public void initNotification() {
@@ -661,11 +659,6 @@ public class MusicService extends Service implements Playback.PlaybackCallbacks
}
}
private void increaseSongCount() {
SongRepository songRepository = new SongRepository(App.getInstance());
songRepository.increasePlayCount(getCurrentSong());
}
@Override
public void onStateChanged(int state) {
notifyChange(STATE_CHANGED);