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
1fce57e119
commit
e71cb5fd5c
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ public class MediaManager {
|
|||
if (mediaBrowserListenableFuture.isDone()) {
|
||||
if (mediaBrowserListenableFuture.get().getMediaItemCount() < 1) {
|
||||
List<Song> songs = getQueueRepository().getSongs();
|
||||
if (songs.size() >= 1) {
|
||||
if (songs != null && songs.size() >= 1) {
|
||||
init(mediaBrowserListenableFuture, context, songs);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue