summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2013-12-03 22:30:04 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-12-03 22:30:04 +0000
commit365c55cb9a514b514b494b026b4dfbdfa7ce4250 (patch)
treeafe7fc18e7ed6fecf7baa02607fdc56ed099aa66 /core/java/android
parentb4de207bc30b61c8834ffead882cd27a6bffe8ea (diff)
parent8749ac8a4c14bf2ff13deb5fe9a08bafd172ca63 (diff)
Merge "use relative positioning for notification actions"
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/app/Notification.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java
index ed3bb92faf0e..62a84219533f 100644
--- a/core/java/android/app/Notification.java
+++ b/core/java/android/app/Notification.java
@@ -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);