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

Commit a8e46c02 authored by Michael Chan's avatar Michael Chan Committed by Android (Google) Code Review
Browse files

Merge "Readding the priority setting, which got accidentally removed in the...

Merge "Readding the priority setting, which got accidentally removed in the previous CL." into ics-ub-calendar-aqua
parents 87136abf 42641bba
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -269,6 +269,14 @@ public class AlertReceiver extends BroadcastReceiver {
            // Turn off timestamp.
            notificationBuilder.setWhen(0);

            // Setting to a higher priority will encourage notification manager to expand the
            // notification.
            if (highPriority) {
                notificationBuilder.setPriority(Notification.PRIORITY_HIGH);
            } else {
                notificationBuilder.setPriority(Notification.PRIORITY_DEFAULT);
            }

            // Add action buttons.
            if (snoozeIntent != null) {
                notificationBuilder.addAction(R.drawable.ic_alarm_holo_dark,