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

Commit be63a95d authored by Chris Wren's avatar Chris Wren
Browse files

use relative positioning for notification actions

Bug: 10531101
Change-Id: Ia1d7cac880f620a9760271344edf920caf0d852d
parent 221849b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1778,7 +1778,7 @@ public class Notification implements Parcelable
            RemoteViews button = new RemoteViews(mContext.getPackageName(),
                    tombstone ? R.layout.notification_action_tombstone
                              : R.layout.notification_action);
            button.setTextViewCompoundDrawables(R.id.action0, action.icon, 0, 0, 0);
            button.setTextViewCompoundDrawablesRelative(R.id.action0, action.icon, 0, 0, 0);
            button.setTextViewText(R.id.action0, action.title);
            if (!tombstone) {
                button.setOnClickPendingIntent(R.id.action0, action.actionIntent);