mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 21:27:40 +00:00
Allow multi-line, expandable notifications if text doesn't fit
This commit is contained in:
parent
b21a4ac6ba
commit
c80a905f1b
@ -87,6 +87,7 @@ public class PingPlugin extends Plugin {
|
|||||||
.setSmallIcon(R.drawable.ic_notification)
|
.setSmallIcon(R.drawable.ic_notification)
|
||||||
.setAutoCancel(true)
|
.setAutoCancel(true)
|
||||||
.setDefaults(Notification.DEFAULT_ALL)
|
.setDefaults(Notification.DEFAULT_ALL)
|
||||||
|
.setStyle(new NotificationCompat.BigTextStyle().bigText(message))
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
NotificationHelper.notifyCompat(notificationManager, id, noti);
|
NotificationHelper.notifyCompat(notificationManager, id, noti);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user