Merge "Notification.java javadoc: addAction" into jb-dev-docs

This commit is contained in:
Joe Malin
2012-11-13 14:14:23 -08:00
committed by Android (Google) Code Review

View File

@@ -1353,6 +1353,8 @@ public class Notification implements Parcelable
/** /**
* Add an action to this notification. Actions are typically displayed by * Add an action to this notification. Actions are typically displayed by
* the system as a button adjacent to the notification content. * the system as a button adjacent to the notification content.
* <br>
* A notification displays up to 3 actions, from left to right in the order they were added.
* *
* @param icon Resource ID of a drawable that represents the action. * @param icon Resource ID of a drawable that represents the action.
* @param title Text describing the action. * @param title Text describing the action.