mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
Null checking
This commit is contained in:
parent
fd5a5037f3
commit
1515bc320b
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ public class Media implements Parcelable {
|
|||
this.trackNumber = child.getTrack() != null ? child.getTrack() : 0;
|
||||
this.discNumber = child.getDiscNumber() != null ? child.getDiscNumber() : 0;
|
||||
this.year = child.getYear() != null ? child.getYear() : 0;
|
||||
this.duration = child.getDuration();
|
||||
this.duration = child.getDuration() != null ? child.getDuration() : 0;
|
||||
this.albumId = child.getAlbumId();
|
||||
this.albumName = child.getAlbum();
|
||||
this.artistId = child.getArtistId();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue