summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/notification/NotificationFooterLayout.java
diff options
context:
space:
mode:
authorTony <twickham@google.com>2017-05-10 21:23:57 -0500
committerTony Wickham <twickham@google.com>2017-05-11 13:59:52 -0700
commit18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8 (patch)
treec0aa6fa777b06931b50e295e5a5beaa2330fec4e /src/com/android/launcher3/notification/NotificationFooterLayout.java
parent5cfde85cb6d095585b932d9e3e2c4fe78aa0dafe (diff)
downloadandroid_packages_apps_Trebuchet-18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8.tar.gz
android_packages_apps_Trebuchet-18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8.tar.bz2
android_packages_apps_Trebuchet-18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8.zip
Update accessibility for popup
- Content description includes count of notifications. - Notifications have a dismiss action. - All icons that support shortcuts will have action to show shortcut menu, since there will be system shortcuts even if there are no deep shortcuts. Bug: 36564782 Change-Id: I51b085fa26754f2dcd93c7db6548f2edf054f494
Diffstat (limited to 'src/com/android/launcher3/notification/NotificationFooterLayout.java')
-rw-r--r--src/com/android/launcher3/notification/NotificationFooterLayout.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/launcher3/notification/NotificationFooterLayout.java b/src/com/android/launcher3/notification/NotificationFooterLayout.java
index 1eef743fe..051c0333d 100644
--- a/src/com/android/launcher3/notification/NotificationFooterLayout.java
+++ b/src/com/android/launcher3/notification/NotificationFooterLayout.java
@@ -141,6 +141,7 @@ public class NotificationFooterLayout extends FrameLayout {
icon.setBackground(info.getIconForBackground(getContext(), mBackgroundColor));
icon.setOnClickListener(info);
icon.setTag(info);
+ icon.setImportantForAccessibility(IMPORTANT_FOR_ACCESSIBILITY_NO);
mIconRow.addView(icon, 0, mIconLayoutParams);
return icon;
}