am 148a965c: am d1862dac: am 111e981d: am 70d5ed26: Merge "use relative positioning for notification actions" into klp-dev
* commit '148a965c81dfe8ca7281001931bdc65a7c1d2ded': use relative positioning for notification actions
This commit is contained in:
@@ -1832,7 +1832,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);
|
||||
|
||||
Reference in New Issue
Block a user