From c80a905f1bbccc6b3880dfb4b66b6473ebac3f34 Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Tue, 4 Dec 2018 17:38:55 +0100 Subject: [PATCH] Allow multi-line, expandable notifications if text doesn't fit --- src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java b/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java index 5165c8d7..dea3afaf 100644 --- a/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/PingPlugin/PingPlugin.java @@ -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);