diff options
-rw-r--r-- | core/java/android/app/Notification.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 0d76877..f962259 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -1436,6 +1436,7 @@ public class Notification implements Parcelable // Log.d("Notification", "has actions: " + mContentText); big.setViewVisibility(R.id.actions, View.VISIBLE); if (N>3) N=3; + big.removeAllViews(R.id.actions); for (int i=0; i<N; i++) { final RemoteViews button = generateActionButton(mActions.get(i)); //Log.d("Notification", "adding action " + i + ": " + mActions.get(i).title); |