diff options
author | Tony <twickham@google.com> | 2017-05-10 21:23:57 -0500 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-05-11 13:59:52 -0700 |
commit | 18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8 (patch) | |
tree | c0aa6fa777b06931b50e295e5a5beaa2330fec4e /src/com/android/launcher3/notification/NotificationItemView.java | |
parent | 5cfde85cb6d095585b932d9e3e2c4fe78aa0dafe (diff) | |
download | android_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/NotificationItemView.java')
-rw-r--r-- | src/com/android/launcher3/notification/NotificationItemView.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/notification/NotificationItemView.java b/src/com/android/launcher3/notification/NotificationItemView.java index dd272b3bc..997def277 100644 --- a/src/com/android/launcher3/notification/NotificationItemView.java +++ b/src/com/android/launcher3/notification/NotificationItemView.java @@ -77,6 +77,10 @@ public class NotificationItemView extends PopupItemView implements LogContainerP mSwipeHelper.setDisableHardwareLayers(true); } + public NotificationMainView getMainView() { + return mMainView; + } + public int getHeightMinusFooter() { int footerHeight = mFooter.getParent() == null ? 0 : mFooter.getHeight(); return getHeight() - footerHeight; |