mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-01-30 17:04:51 +01:00
Fix null exception
This commit is contained in:
parent
210cd0b0a4
commit
fd8519e28d
@ -860,7 +860,9 @@ public class DownloadActivity extends SubsonicTabActivity implements OnGestureLi
|
||||
.setText(R.string.download_playerstate_buffering);
|
||||
break;
|
||||
case STARTED:
|
||||
if (getDownloadService().isShufflePlayEnabled()) {
|
||||
final DownloadService downloadService = getDownloadService();
|
||||
|
||||
if (downloadService != null && downloadService.isShufflePlayEnabled()) {
|
||||
statusTextView
|
||||
.setText(R.string.download_playerstate_playing_shuffle);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user