diff --git a/core/java/android/view/accessibility/AccessibilityEvent.java b/core/java/android/view/accessibility/AccessibilityEvent.java index 79c81b2a2f184..249fd91ee3f9f 100644 --- a/core/java/android/view/accessibility/AccessibilityEvent.java +++ b/core/java/android/view/accessibility/AccessibilityEvent.java @@ -365,8 +365,9 @@ import java.util.List; * NOTIFICATION TYPES
*

*

- * Notification state changed - represents the event showing - * {@link android.app.Notification}.
+ * Notification state changed - represents the event showing a transient piece of information + * to the user. This information may be a {@link android.app.Notification} or + * {@link android.widget.Toast}.
* Type: {@link #TYPE_NOTIFICATION_STATE_CHANGED}
* Properties:
*

- * Note: This event type is not dispatched to descendants though - * {@link android.view.View#dispatchPopulateAccessibilityEvent(AccessibilityEvent) - * View.dispatchPopulateAccessibilityEvent(AccessibilityEvent)}, hence the event - * source {@link android.view.View} and the sub-tree rooted at it will not receive - * calls to {@link android.view.View#onPopulateAccessibilityEvent(AccessibilityEvent) - * View.onPopulateAccessibilityEvent(AccessibilityEvent)}. The preferred way to add - * text content to such events is by setting the - * {@link android.R.styleable#View_contentDescription contentDescription} of the source - * view.
*

*

* EXPLORATION TYPES