Fix a bunch of lint warning

This commit is contained in:
CappielloAntonio 2021-08-14 17:06:49 +02:00
parent 9c661bd283
commit a49626aa43
7 changed files with 34 additions and 24 deletions

View file

@ -1,6 +1,5 @@
package com.cappielloantonio.play.model;
import android.annotation.SuppressLint;
import android.os.Parcel;
import android.os.Parcelable;
@ -305,7 +304,6 @@ public class Song implements Parcelable {
return 0;
}
@SuppressLint("NewApi")
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeString(this.id);
@ -330,7 +328,6 @@ public class Song implements Parcelable {
dest.writeLong(this.lastPlay);
}
@SuppressLint("NewApi")
protected Song(Parcel in) {
this.id = in.readString();
this.title = in.readString();