diff options
author | Jon Miranda <jonmiranda@google.com> | 2017-10-04 11:23:33 -0700 |
---|---|---|
committer | Jon Miranda <jonmiranda@google.com> | 2017-10-04 11:23:33 -0700 |
commit | f1eae802b5ba93fc6da537f6f4eca804c4de4f4b (patch) | |
tree | f8b4c4b84e467efb4067eb9dd09b1f351aa49d0c /src/com/android/launcher3/CellLayout.java | |
parent | 0cab65a5b68229205f5cda5063239f4987996903 (diff) | |
download | packages_apps_Trebuchet-f1eae802b5ba93fc6da537f6f4eca804c4de4f4b.tar.gz packages_apps_Trebuchet-f1eae802b5ba93fc6da537f6f4eca804c4de4f4b.tar.bz2 packages_apps_Trebuchet-f1eae802b5ba93fc6da537f6f4eca804c4de4f4b.zip |
Fix bug where labels were visible in hotseat / invisible in workspace.
Bug: 67364623
Change-Id: Ib66a5cdaca767fd8546f4ffd02d590981bb8135a
Diffstat (limited to 'src/com/android/launcher3/CellLayout.java')
-rw-r--r-- | src/com/android/launcher3/CellLayout.java | 2 |
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); |