diff options
| author | Chris Wren <cwren@android.com> | 2014-03-07 15:17:49 +0000 |
|---|---|---|
| committer | Android Git Automerger <android-git-automerger@android.com> | 2014-03-07 15:17:49 +0000 |
| commit | 148a965c81dfe8ca7281001931bdc65a7c1d2ded (patch) | |
| tree | a22b34ce418d88a1e9cc250ac947383f2a2d1ea6 /core/java/android/app/Notification.java | |
| parent | c969450acd4924f0f5478274c345207bf2c57768 (diff) | |
| parent | d1862dac05e4302761c8d741a3286fe5eb6f1174 (diff) | |
| download | frameworks_base-148a965c81dfe8ca7281001931bdc65a7c1d2ded.zip frameworks_base-148a965c81dfe8ca7281001931bdc65a7c1d2ded.tar.gz frameworks_base-148a965c81dfe8ca7281001931bdc65a7c1d2ded.tar.bz2 | |
am d1862dac: am 111e981d: am 70d5ed26: Merge "use relative positioning for notification actions" into klp-dev
* commit 'd1862dac05e4302761c8d741a3286fe5eb6f1174':
use relative positioning for notification actions
Diffstat (limited to 'core/java/android/app/Notification.java')
| -rw-r--r-- | core/java/android/app/Notification.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index dd2dc01..6be2b7b 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -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); |
