diff options
| author | Eugene Susla <eugenesusla@google.com> | 2018-01-23 21:12:11 +0000 |
|---|---|---|
| committer | Eugene Susla <eugenesusla@google.com> | 2018-01-26 11:32:25 -0800 |
| commit | 72c510f1c4d5cff42a3925a784027e258ac0bcdc (patch) | |
| tree | 3b2d6d9da641f38f6c8afe7fea3fec1789b89055 /core/java/android/widget/CompoundButton.java | |
| parent | f4c5faf932a6a3e5a3120f5a3953af11872e6bf9 (diff) | |
Revert "Move A11y events throttling away from View(RootImpl)"
This reverts commit e4d31b3c103045d5b2b141a05084dced595cc64f.
Fixes: 71904218
Test: presubmit
Change-Id: Id73bde1a0c11696cf561c84cde027cdca4c6a00f
Diffstat (limited to 'core/java/android/widget/CompoundButton.java')
| -rw-r--r-- | core/java/android/widget/CompoundButton.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/widget/CompoundButton.java b/core/java/android/widget/CompoundButton.java index e57f15365c26..0762b15626f7 100644 --- a/core/java/android/widget/CompoundButton.java +++ b/core/java/android/widget/CompoundButton.java @@ -158,7 +158,7 @@ public abstract class CompoundButton extends Button implements Checkable { mCheckedFromResource = false; mChecked = checked; refreshDrawableState(); - notifyAccessibilityStateChanged( + notifyViewAccessibilityStateChangedIfNeeded( AccessibilityEvent.CONTENT_CHANGE_TYPE_UNDEFINED); // Avoid infinite recursions if setChecked() is called from a listener |
