summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Miranda <jonmiranda@google.com>2017-10-04 11:23:33 -0700
committerJon Miranda <jonmiranda@google.com>2017-10-04 11:23:33 -0700
commitf1eae802b5ba93fc6da537f6f4eca804c4de4f4b (patch)
treef8b4c4b84e467efb4067eb9dd09b1f351aa49d0c
parent0cab65a5b68229205f5cda5063239f4987996903 (diff)
downloadandroid_packages_apps_Trebuchet-f1eae802b5ba93fc6da537f6f4eca804c4de4f4b.tar.gz
android_packages_apps_Trebuchet-f1eae802b5ba93fc6da537f6f4eca804c4de4f4b.tar.bz2
android_packages_apps_Trebuchet-f1eae802b5ba93fc6da537f6f4eca804c4de4f4b.zip
Fix bug where labels were visible in hotseat / invisible in workspace.
Bug: 67364623 Change-Id: Ib66a5cdaca767fd8546f4ffd02d590981bb8135a
-rw-r--r--src/com/android/launcher3/CellLayout.java2
1 files changed, 1 insertions, 1 deletions
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);