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

Commit 8749ac8a authored by Chris Wren's avatar Chris Wren
Browse files

use relative positioning for notification actions

Bug: 10531101
Change-Id: I5a55f708d9ffae3ec3582f85c2ff47aa6afa287d
parent 1622981c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1787,7 +1787,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);