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

Commit 7724c90c authored by Lyn's avatar Lyn
Browse files

Emphasize action buttons for sticky HUN

Bug: 243421660
Test: visual
Change-Id: I1353237caec1296f831f17830783e7a13063d6e4
parent 78413c7e
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -5758,7 +5758,10 @@ public class Notification implements Parcelable
            List<Notification.Action> nonContextualActions = getNonContextualActions();
            int numActions = Math.min(nonContextualActions.size(), MAX_ACTION_BUTTONS);
            boolean emphazisedMode = mN.fullScreenIntent != null || p.mCallStyleActions;
            boolean emphazisedMode = mN.fullScreenIntent != null
                    || p.mCallStyleActions
                    || ((mN.flags & FLAG_FSI_REQUESTED_BUT_DENIED) != 0);
            if (p.mCallStyleActions) {
                // Clear view padding to allow buttons to start on the left edge.
                // This must be done before 'setEmphasizedMode' which sets top/bottom margins.