summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/popup/PopupContainerWithArrow.java
diff options
context:
space:
mode:
authorVadim Tryshev <vadimt@google.com>2018-10-24 15:38:09 -0700
committerVadim Tryshev <vadimt@google.com>2018-10-25 11:43:59 -0700
commitf908a2e50e44d828583aa35e37e22334a50fc300 (patch)
tree5f4a0eb9d918fe32ea38170704628ec2e277153c /src/com/android/launcher3/popup/PopupContainerWithArrow.java
parent934a1cb6f4a01bea9ac0073413e629395b4f1acb (diff)
downloadandroid_packages_apps_Trebuchet-f908a2e50e44d828583aa35e37e22334a50fc300.tar.gz
android_packages_apps_Trebuchet-f908a2e50e44d828583aa35e37e22334a50fc300.tar.bz2
android_packages_apps_Trebuchet-f908a2e50e44d828583aa35e37e22334a50fc300.zip
Adding test methods
Bug: 117888000 Test: Running new Nexus tests Change-Id: I52a1f89add36dd38bbae8db262dd2e82280db130
Diffstat (limited to 'src/com/android/launcher3/popup/PopupContainerWithArrow.java')
-rw-r--r--src/com/android/launcher3/popup/PopupContainerWithArrow.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/launcher3/popup/PopupContainerWithArrow.java b/src/com/android/launcher3/popup/PopupContainerWithArrow.java
index 4f1fcda12..12319f75e 100644
--- a/src/com/android/launcher3/popup/PopupContainerWithArrow.java
+++ b/src/com/android/launcher3/popup/PopupContainerWithArrow.java
@@ -221,6 +221,10 @@ public class PopupContainerWithArrow extends ArrowPopup implements DragSource,
factory.getEnabledShortcuts(mLauncher, item));
}
+ public ViewGroup getSystemShortcutContainerForTesting() {
+ return mSystemShortcutContainer;
+ }
+
@TargetApi(Build.VERSION_CODES.P)
protected void populateAndShow(final BubbleTextView originalIcon, int shortcutCount,
final List<NotificationKeyData> notificationKeys, List<SystemShortcut> systemShortcuts) {