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

Commit b186a092 authored by Lyn Han's avatar Lyn Han Committed by Android (Google) Code Review
Browse files

Merge "Emphasize action buttons for sticky HUN"

parents 5528b426 7724c90c
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.