summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/BubbleTextView.java
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2013-10-14 16:29:29 -0700
committerWinson Chung <winsonc@google.com>2013-10-14 16:30:38 -0700
commit540004905a555087e72691aad4479aa52ab5460e (patch)
tree8d2b8b8ca0feedcb08074a6ca6ee9183dc72c3e4 /src/com/android/launcher3/BubbleTextView.java
parent2ac85a6d3e1096b50f00f4236ae059bcdaecb761 (diff)
downloadandroid_packages_apps_Trebuchet-540004905a555087e72691aad4479aa52ab5460e.tar.gz
android_packages_apps_Trebuchet-540004905a555087e72691aad4479aa52ab5460e.tar.bz2
android_packages_apps_Trebuchet-540004905a555087e72691aad4479aa52ab5460e.zip
Ensuring that we are calling setCompoundDrawable() instead of using intrinsic bounds. (Bug 11203738)
Change-Id: Ic2100e4008d7fc95d2670aab9d3b46a96a927599
Diffstat (limited to 'src/com/android/launcher3/BubbleTextView.java')
-rw-r--r--src/com/android/launcher3/BubbleTextView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java
index eb65a0a9c..8dab9432a 100644
--- a/src/com/android/launcher3/BubbleTextView.java
+++ b/src/com/android/launcher3/BubbleTextView.java
@@ -109,7 +109,7 @@ public class BubbleTextView extends TextView {
LauncherAppState app = LauncherAppState.getInstance();
DeviceProfile grid = app.getDynamicGrid().getDeviceProfile();
- setCompoundDrawablesWithIntrinsicBounds(null,
+ setCompoundDrawables(null,
Utilities.createIconDrawable(b), null, null);
setCompoundDrawablePadding((int) ((grid.folderIconSizePx - grid.iconSizePx) / 2f));
setText(info.title);