diff --git a/core/java/android/view/View.java b/core/java/android/view/View.java index 412b0ca95680f..17925ab56ddfc 100644 --- a/core/java/android/view/View.java +++ b/core/java/android/view/View.java @@ -10348,6 +10348,9 @@ public class View implements Drawable.Callback, KeyEvent.Callback, * the user. It is a supplement to the boolean states (for example, checked/unchecked) and * it is used for customized state description (for example, "wifi, connected, three bars"). * State description changes frequently while content description should change less often. + * State description should be localized. For android widgets which have default state + * descriptions, app developers can call this method to override the state descriptions. + * Setting state description to null restores the default behavior. * * @param stateDescription The state description. * @see #getStateDescription()