diff options
| author | Alan Viverette <alanv@google.com> | 2013-09-13 01:45:10 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-09-13 01:45:10 +0000 |
| commit | 2a65a2839e9b3e59a72348ee088f86cda7df604a (patch) | |
| tree | fd29d3025917df88f1854a79bd40bdd38506846e /core/java/android/widget/CompoundButton.java | |
| parent | b72ff5aa4b8be587bcea82761aa08cd8c14b8b48 (diff) | |
| parent | 77e9a28e2faa36f127231b842476d47f9823a83a (diff) | |
Merge "Add live region politeness to View, AccessibilityNodeInfo" into klp-dev
Diffstat (limited to 'core/java/android/widget/CompoundButton.java')
| -rw-r--r-- | core/java/android/widget/CompoundButton.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/widget/CompoundButton.java b/core/java/android/widget/CompoundButton.java index 05a8dc825e12..082ff3d46906 100644 --- a/core/java/android/widget/CompoundButton.java +++ b/core/java/android/widget/CompoundButton.java @@ -114,7 +114,8 @@ public abstract class CompoundButton extends Button implements Checkable { if (mChecked != checked) { mChecked = checked; refreshDrawableState(); - notifyViewAccessibilityStateChangedIfNeeded(); + notifyViewAccessibilityStateChangedIfNeeded( + AccessibilityEvent.CONTENT_CHANGE_TYPE_UNDEFINED); // Avoid infinite recursions if setChecked() is called from a listener if (mBroadcasting) { |
