From f1eae802b5ba93fc6da537f6f4eca804c4de4f4b Mon Sep 17 00:00:00 2001 From: Jon Miranda Date: Wed, 4 Oct 2017 11:23:33 -0700 Subject: Fix bug where labels were visible in hotseat / invisible in workspace. Bug: 67364623 Change-Id: Ib66a5cdaca767fd8546f4ffd02d590981bb8135a --- src/com/android/launcher3/CellLayout.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java index 3ebccda9e..a75c6d1c4 100644 --- a/src/com/android/launcher3/CellLayout.java +++ b/src/com/android/launcher3/CellLayout.java @@ -606,7 +606,7 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler { // Hotseat icons - remove text if (child instanceof BubbleTextView) { BubbleTextView bubbleChild = (BubbleTextView) child; - bubbleChild.setTextVisibility(bubbleChild.shouldTextBeVisible()); + bubbleChild.setTextVisibility(mContainerType != HOTSEAT); } child.setScaleX(mChildScale); -- cgit v1.2.3