From 18c4aa458ea5c9ee5513fa756da4f5492bb7c5b8 Mon Sep 17 00:00:00 2001 From: Tony Date: Wed, 10 May 2017 21:23:57 -0500 Subject: 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 --- src/com/android/launcher3/BubbleTextView.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/com/android/launcher3/BubbleTextView.java') diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java index cb40d3d5e..d93b65570 100644 --- a/src/com/android/launcher3/BubbleTextView.java +++ b/src/com/android/launcher3/BubbleTextView.java @@ -659,14 +659,6 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver { } } - /** - * Returns true if the view can show custom shortcuts. - */ - public boolean hasDeepShortcuts() { - return !mLauncher.getPopupDataProvider().getShortcutIdsForItem((ItemInfo) getTag()) - .isEmpty(); - } - /** * Interface to be implemented by the grand parent to allow click shadow effect. */ -- cgit v1.2.3