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

Commit 56c4cef8 authored by Selim Cinek's avatar Selim Cinek Committed by Android Git Automerger
Browse files

am 3967be02: am b59d3820: am 928b2bf7: am b43b06d1: Merge "Fixed a bug where...

am 3967be02: am b59d3820: am 928b2bf7: am b43b06d1: Merge "Fixed a bug where notifications were not posted on secondary users" into mnc-dev

* commit '3967be02':
  Fixed a bug where notifications were not posted on secondary users
parents 2aaf06a4 3967be02
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -3168,7 +3168,7 @@ public class Notification implements Parcelable


        private RemoteViews generateActionButton(Action action) {
        private RemoteViews generateActionButton(Action action) {
            final boolean tombstone = (action.actionIntent == null);
            final boolean tombstone = (action.actionIntent == null);
            RemoteViews button = new RemoteViews(mContext.getPackageName(),
            RemoteViews button = new BuilderRemoteViews(mContext.getApplicationInfo(),
                    tombstone ? getActionTombstoneLayoutResource()
                    tombstone ? getActionTombstoneLayoutResource()
                              : getActionLayoutResource());
                              : getActionLayoutResource());
            button.setTextViewCompoundDrawablesRelative(R.id.action0, action.icon, 0, 0, 0);
            button.setTextViewCompoundDrawablesRelative(R.id.action0, action.icon, 0, 0, 0);
@@ -4437,7 +4437,7 @@ public class Notification implements Parcelable


        private RemoteViews generateMediaActionButton(Action action) {
        private RemoteViews generateMediaActionButton(Action action) {
            final boolean tombstone = (action.actionIntent == null);
            final boolean tombstone = (action.actionIntent == null);
            RemoteViews button = new RemoteViews(mBuilder.mContext.getPackageName(),
            RemoteViews button = new BuilderRemoteViews(mBuilder.mContext.getApplicationInfo(),
                    R.layout.notification_material_media_action);
                    R.layout.notification_material_media_action);
            button.setImageViewResource(R.id.action0, action.icon);
            button.setImageViewResource(R.id.action0, action.icon);
            button.setDrawableParameters(R.id.action0, false, -1,
            button.setDrawableParameters(R.id.action0, false, -1,