Loading core/java/android/app/Notification.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1778,7 +1778,7 @@ public class Notification implements Parcelable RemoteViews button = new RemoteViews(mContext.getPackageName(), RemoteViews button = new RemoteViews(mContext.getPackageName(), tombstone ? R.layout.notification_action_tombstone tombstone ? R.layout.notification_action_tombstone : R.layout.notification_action); : 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); button.setTextViewText(R.id.action0, action.title); if (!tombstone) { if (!tombstone) { button.setOnClickPendingIntent(R.id.action0, action.actionIntent); button.setOnClickPendingIntent(R.id.action0, action.actionIntent); Loading Loading
core/java/android/app/Notification.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -1778,7 +1778,7 @@ public class Notification implements Parcelable RemoteViews button = new RemoteViews(mContext.getPackageName(), RemoteViews button = new RemoteViews(mContext.getPackageName(), tombstone ? R.layout.notification_action_tombstone tombstone ? R.layout.notification_action_tombstone : R.layout.notification_action); : 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); button.setTextViewText(R.id.action0, action.title); if (!tombstone) { if (!tombstone) { button.setOnClickPendingIntent(R.id.action0, action.actionIntent); button.setOnClickPendingIntent(R.id.action0, action.actionIntent); Loading