Updated liveRegion documentation to avoid promoting using liveRegion for errors.
Test: No tests, just updating documentation.
Change-Id: I88cef50ca1713743a0befab9e23d746626346265
diff --git a/core/java/android/view/accessibility/AccessibilityNodeInfo.java b/core/java/android/view/accessibility/AccessibilityNodeInfo.java
index a20b2b2..953f261 100644
--- a/core/java/android/view/accessibility/AccessibilityNodeInfo.java
+++ b/core/java/android/view/accessibility/AccessibilityNodeInfo.java
@@ -2659,8 +2659,8 @@
* <p>
* A live region is a node that contains information that is important for
* the user and when it changes the user should be notified. For example,
- * in a login screen with a TextView that displays an "incorrect password"
- * notification, that view should be marked as a live region with mode
+ * a Snackbar that displays a confirmation notification should be marked
+ * as a live region with mode
* {@link View#ACCESSIBILITY_LIVE_REGION_POLITE}.
* <p>
* It is the responsibility of the accessibility service to monitor