Make mDisplay DISPLAY_SEARCH_RESULT visible for test

bug: 278922113
Test: locally manually
Flag: n/a
Change-Id: I4c5dcecca66466f796f1fbdc25698da55e50f156
This commit is contained in:
Brandon Dayauon
2023-07-10 16:17:26 -07:00
parent 10b5a3903a
commit 7e3761614f

View File

@@ -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;
}