From 7e3761614f97c0d483438ef2298a73ecfa2bafcf Mon Sep 17 00:00:00 2001 From: Brandon Dayauon Date: Mon, 10 Jul 2023 16:17:26 -0700 Subject: [PATCH] Make mDisplay DISPLAY_SEARCH_RESULT visible for test bug: 278922113 Test: locally manually Flag: n/a Change-Id: I4c5dcecca66466f796f1fbdc25698da55e50f156 --- src/com/android/launcher3/BubbleTextView.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java index 2356bcc239..360e06059f 100644 --- a/src/com/android/launcher3/BubbleTextView.java +++ b/src/com/android/launcher3/BubbleTextView.java @@ -97,7 +97,7 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver, public static final int DISPLAY_ALL_APPS = 1; private static final int DISPLAY_FOLDER = 2; protected static final int DISPLAY_TASKBAR = 5; - private static final int DISPLAY_SEARCH_RESULT = 6; + public static final int DISPLAY_SEARCH_RESULT = 6; private static final int DISPLAY_SEARCH_RESULT_SMALL = 7; public static final int DISPLAY_PREDICTION_ROW = 8; @@ -632,6 +632,11 @@ public class BubbleTextView extends TextView implements ItemInfoUpdateReceiver, } } + @VisibleForTesting + public boolean getForceHideDot() { + return mForceHideDot; + } + private boolean hasDot() { return mDotInfo != null; }