mirror of
https://invent.kde.org/network/kdeconnect-android.git
synced 2025-10-06 00:23:01 +02:00
Allow multi-line, expandable notifications if text doesn't fit
This commit is contained in:
@@ -87,6 +87,7 @@ public class PingPlugin extends Plugin {
|
||||
.setSmallIcon(R.drawable.ic_notification)
|
||||
.setAutoCancel(true)
|
||||
.setDefaults(Notification.DEFAULT_ALL)
|
||||
.setStyle(new NotificationCompat.BigTextStyle().bigText(message))
|
||||
.build();
|
||||
|
||||
NotificationHelper.notifyCompat(notificationManager, id, noti);
|
||||
|
Reference in New Issue
Block a user