Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3afcdf1e authored by Salvador Martinez's avatar Salvador Martinez Committed by android-build-merger
Browse files

Merge "Update notification to allow multiline text" into pi-dev am: a2117ce0

am: 3dd49d53

Change-Id: I9ba8ec0e8a8e8ecf676ec33146bd18994f617f96
parents 0ca727ec 3dd49d53
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -229,10 +229,11 @@ public class PowerNotificationWarnings implements PowerUI.WarningsUI {
                        // Bump the notification when the bucket dropped.
                        .setWhen(mWarningTriggerTimeMs)
                        .setShowWhen(false)
                        .setContentTitle(title)
                        .setContentText(contentText)
                        .setContentTitle(title)
                        .setOnlyAlertOnce(true)
                        .setDeleteIntent(pendingBroadcast(ACTION_DISMISSED_WARNING))
                        .setStyle(new Notification.BigTextStyle().bigText(contentText))
                        .setVisibility(Notification.VISIBILITY_PUBLIC);
        if (hasBatterySettings()) {
            nb.setContentIntent(pendingBroadcast(ACTION_SHOW_BATTERY_SETTINGS));