-Fixed potential NPE when updating thumbnail in background player.
This commit is contained in:
parent
2317ecc74d
commit
2a17ee62a6
1 changed files with 1 additions and 0 deletions
|
|
@ -295,6 +295,7 @@ public final class BackgroundPlayer extends Service {
|
||||||
//////////////////////////////////////////////////////////////////////////*/
|
//////////////////////////////////////////////////////////////////////////*/
|
||||||
|
|
||||||
private void updateNotificationThumbnail() {
|
private void updateNotificationThumbnail() {
|
||||||
|
if (basePlayerImpl == null) return;
|
||||||
if (notRemoteView != null) {
|
if (notRemoteView != null) {
|
||||||
notRemoteView.setImageViewBitmap(R.id.notificationCover,
|
notRemoteView.setImageViewBitmap(R.id.notificationCover,
|
||||||
basePlayerImpl.getThumbnail());
|
basePlayerImpl.getThumbnail());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue