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…
Reference in New Issue