Removed compiler warnings

This commit is contained in:
CappielloAntonio 2021-04-19 15:45:27 +02:00
parent c286329466
commit bdfa4a6f64
2 changed files with 2 additions and 4 deletions

View file

@ -1,7 +1,5 @@
apply plugin: 'com.android.application' apply plugin: 'com.android.application'
apply plugin: 'kotlin-android' apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android { android {
compileSdkVersion 30 compileSdkVersion 30

View file

@ -14,10 +14,10 @@ import java.util.List;
@Dao @Dao
public interface QueueDao { public interface QueueDao {
@Query("SELECT * FROM song JOIN queue ON song.id = queue.id") @Query("SELECT song.* FROM song JOIN queue ON song.id = queue.id")
LiveData<List<Song>> getAll(); LiveData<List<Song>> getAll();
@Query("SELECT * FROM song JOIN queue ON song.id = queue.id") @Query("SELECT song.* FROM song JOIN queue ON song.id = queue.id")
List<Song> getAllSimple(); List<Song> getAllSimple();
@Insert(onConflict = OnConflictStrategy.REPLACE) @Insert(onConflict = OnConflictStrategy.REPLACE)