mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 07:03:35 +00:00
Null checking
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user