some formatting
This commit is contained in:
parent
f60032b530
commit
5328f4d97f
1 changed files with 5 additions and 2 deletions
|
@ -262,8 +262,11 @@ public class MusicService extends Service
|
|||
remoteViews.setImageViewBitmap(R.id.closeBtn, closeBitmap);
|
||||
}
|
||||
|
||||
final Notification notification =
|
||||
new Notification.Builder(this).setContentTitle(title).setContentText(artist).setSmallIcon(R.mipmap.ic_launcher).build();
|
||||
final Notification notification = new Notification.Builder(this).
|
||||
setContentTitle(title).
|
||||
setContentText(artist).
|
||||
setSmallIcon(R.mipmap.ic_launcher).
|
||||
build();
|
||||
notification.bigContentView = remoteViews;
|
||||
|
||||
final Intent contentIntent = new Intent(this, MainActivity.class);
|
||||
|
|
Loading…
Reference in a new issue