Commit 4dec2898 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[Receivenotification] Support long text

Use bigtext style.

BUG: 402489

Test Plan: Send notification with long text. Before a single line was shown. Now the user can view the full content by pulling down the notification

Reviewers: #kde_connect, albertvaka

Reviewed By: #kde_connect, albertvaka

Subscribers: kdeconnect

Tags: #kde_connect

Differential Revision:
parent 501af459
......@@ -115,6 +115,7 @@ public class ReceiveNotificationsPlugin extends Plugin {
.setLocalOnly(true) // to avoid bouncing the notification back to other kdeconnect nodes
.setStyle(new NotificationCompat.BigTextStyle().bigText(np.getString("ticker")))
NotificationHelper.notifyCompat(notificationManager, "kdeconnectId:" + np.getString("id", "0"), np.getInt("id", 0), noti);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment