mirror of
https://github.com/antebudimir/tempus.git
synced 2026-01-01 18:03:33 +00:00
Fixed a lot of possible issues raised by a code inspection
This commit is contained in:
parent
0299f909fb
commit
d169e3b188
7 changed files with 13 additions and 24 deletions
|
|
@ -133,7 +133,7 @@ public class MultiPlayer implements Playback {
|
|||
String uri = MusicUtil.getSongFileUri(song);
|
||||
MediaItem mediaItem = exoPlayer.getCurrentMediaItem();
|
||||
|
||||
if (mediaItem != null && mediaItem.playbackProperties.uri.toString().equals(uri)) {
|
||||
if (mediaItem != null && mediaItem.playbackProperties != null && mediaItem.playbackProperties.uri.toString().equals(uri)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue