summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher3/CellLayout.java
diff options
context:
space:
mode:
authorSunny Goyal <sunnygoyal@google.com>2017-05-24 13:19:15 -0700
committerSunny Goyal <sunnygoyal@google.com>2017-05-24 14:34:04 -0700
commit368ae772018c12349d7bf1b27d8817e7644b08c2 (patch)
tree9163783e4105f12f41bcc3a36d43ba6f58eaa064 /src/com/android/launcher3/CellLayout.java
parent94652a207ff0ae5dcfa436bcdfad3538466fca3d (diff)
downloadpackages_apps_Trebuchet-368ae772018c12349d7bf1b27d8817e7644b08c2.tar.gz
packages_apps_Trebuchet-368ae772018c12349d7bf1b27d8817e7644b08c2.tar.bz2
packages_apps_Trebuchet-368ae772018c12349d7bf1b27d8817e7644b08c2.zip
Defining a dark theme for launcher
> Removing the code for LIGHT_STATUS_BAR as that will be controlled by the theme > Updating icon cache to always use transparent background for low-res, as the theme can change the bg color Change-Id: Iab64ec29cab629ee515af22ec15b95d3f40a9df5
Diffstat (limited to 'src/com/android/launcher3/CellLayout.java')
-rw-r--r--src/com/android/launcher3/CellLayout.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/com/android/launcher3/CellLayout.java b/src/com/android/launcher3/CellLayout.java
index c0946a0e3..78030ce2a 100644
--- a/src/com/android/launcher3/CellLayout.java
+++ b/src/com/android/launcher3/CellLayout.java
@@ -542,11 +542,8 @@ public class CellLayout extends ViewGroup implements BubbleTextShadowHandler {
}
public void setFolderLeaveBehindCell(int x, int y) {
-
- DeviceProfile grid = mLauncher.getDeviceProfile();
View child = getChildAt(x, y);
-
- mFolderLeaveBehind.setup(getResources().getDisplayMetrics(), grid, null,
+ mFolderLeaveBehind.setup(mLauncher, null,
child.getMeasuredWidth(), child.getPaddingTop());
mFolderLeaveBehind.delegateCellX = x;