summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSvetoslav Ganov <svetoslavganov@google.com>2012-07-03 14:36:02 -0700
committerSvetoslav Ganov <svetoslavganov@google.com>2012-07-03 14:36:06 -0700
commita6af804b960996dd8a42452e26c56d63974f173c (patch)
treed15b8b1bdd8243e7020b2ee9d73b4f7cf3140aac
parentb78813f1095f724d50a1c2fea22e24a573a0d906 (diff)
downloadandroid_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
-rw-r--r--ui/src/com/android/providers/downloads/ui/DownloadItem.java2
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() {