mirror of
https://github.com/ultrasonic/ultrasonic
synced 2025-02-18 04:30:48 +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);
|
.setText(R.string.download_playerstate_buffering);
|
||||||
break;
|
break;
|
||||||
case STARTED:
|
case STARTED:
|
||||||
if (getDownloadService().isShufflePlayEnabled()) {
|
final DownloadService downloadService = getDownloadService();
|
||||||
|
|
||||||
|
if (downloadService != null && downloadService.isShufflePlayEnabled()) {
|
||||||
statusTextView
|
statusTextView
|
||||||
.setText(R.string.download_playerstate_playing_shuffle);
|
.setText(R.string.download_playerstate_playing_shuffle);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user