diff options
author | Nebojsa Cvetkovic <nebkat@gmail.com> | 2014-01-01 16:22:41 +0000 |
---|---|---|
committer | Danesh M <daneshm90@gmail.com> | 2014-01-24 16:25:19 -0800 |
commit | 9f0e132f8f21c7de6df3f1e8f1500f594557bd9c (patch) | |
tree | 8ef1e2053ada059ad74ec32905e980da5a5b9c7c /src/com/android/launcher3/BubbleTextView.java | |
parent | 9bbb6cf6d78824d4c68382f33b654c43f4aaa109 (diff) | |
download | android_packages_apps_Trebuchet-9f0e132f8f21c7de6df3f1e8f1500f594557bd9c.tar.gz android_packages_apps_Trebuchet-9f0e132f8f21c7de6df3f1e8f1500f594557bd9c.tar.bz2 android_packages_apps_Trebuchet-9f0e132f8f21c7de6df3f1e8f1500f594557bd9c.zip |
Hotseat: Movable AllApps button
Change-Id: I4273c460392c8329368a23ef6f0d9698f52adfea
Diffstat (limited to 'src/com/android/launcher3/BubbleTextView.java')
-rw-r--r-- | src/com/android/launcher3/BubbleTextView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/launcher3/BubbleTextView.java b/src/com/android/launcher3/BubbleTextView.java index 8dab9432a..659b2b9d9 100644 --- a/src/com/android/launcher3/BubbleTextView.java +++ b/src/com/android/launcher3/BubbleTextView.java @@ -105,10 +105,10 @@ public class BubbleTextView extends TextView { } public void applyFromShortcutInfo(ShortcutInfo info, IconCache iconCache) { - Bitmap b = info.getIcon(iconCache); LauncherAppState app = LauncherAppState.getInstance(); DeviceProfile grid = app.getDynamicGrid().getDeviceProfile(); + Bitmap b = info.getIcon(iconCache); setCompoundDrawables(null, Utilities.createIconDrawable(b), null, null); setCompoundDrawablePadding((int) ((grid.folderIconSizePx - grid.iconSizePx) / 2f)); |