diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2012-07-03 14:36:02 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2012-07-03 14:36:06 -0700 |
commit | a6af804b960996dd8a42452e26c56d63974f173c (patch) | |
tree | d15b8b1bdd8243e7020b2ee9d73b4f7cf3140aac /ui | |
parent | b78813f1095f724d50a1c2fea22e24a573a0d906 (diff) | |
download | android_packages_providers_DownloadProvider-a6af804b960996dd8a42452e26c56d63974f173c.tar.gz android_packages_providers_DownloadProvider-a6af804b960996dd8a42452e26c56d63974f173c.tar.bz2 android_packages_providers_DownloadProvider-a6af804b960996dd8a42452e26c56d63974f173c.zip |
No echo or earcon after checking/unchecking items in the download screen.
1. The problem is that download provider is using a custom view to intercept
clicks to toggle the state of the nested check box. However, the when
toggling the code is not calling performClick() on the check box which
aside of toggling will also send the right accessibility event.
bug:6705105
Change-Id: Ia7253ff05f6e4575a346b9aaf3fbceecd68b9782
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/com/android/providers/downloads/ui/DownloadItem.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/com/android/providers/downloads/ui/DownloadItem.java b/ui/src/com/android/providers/downloads/ui/DownloadItem.java index 25f58638..fc78ca49 100644 --- a/ui/src/com/android/providers/downloads/ui/DownloadItem.java +++ b/ui/src/com/android/providers/downloads/ui/DownloadItem.java @@ -130,7 +130,7 @@ public class DownloadItem extends GridLayout implements Checkable { @Override public void toggle() { - setChecked(!isChecked()); + mCheckBox.performClick(); } public CheckBox getCheckBox() { |