use ic_launcher_foreground for widget when nothing is playing

This commit is contained in:
Brad Pitcher 2019-04-18 21:43:35 -07:00
parent 25915453ba
commit a60b6efc51
No known key found for this signature in database
GPG Key ID: 242307B374A1710A
3 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ public class PlayerWidgetJobService extends SafeJobIntentService {
views.setOnClickPendingIntent(R.id.layout_left, startAppPending);
views.setOnClickPendingIntent(R.id.butPlay, startAppPending);
views.setViewVisibility(R.id.txtvProgress, View.INVISIBLE);
views.setImageViewResource(R.id.imgvCover, R.drawable.ic_stat_antenna_default);
views.setImageViewResource(R.id.imgvCover, R.mipmap.ic_launcher_foreground);
views.setTextViewText(R.id.txtvTitle,
this.getString(R.string.no_media_playing_label));
views.setImageViewResource(R.id.butPlay, R.drawable.ic_play_arrow_white_24dp);

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB