Merge "Fix taskbar folder leave-behind not being drawn" into sc-v2-dev am: ee3814de1a

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15670130

Change-Id: I9f27e44763a152b8b2ba7a217d9a502d7c99d388
This commit is contained in:
Tony Wickham
2021-08-26 17:51:40 +00:00
committed by Automerger Merge Worker

View File

@@ -90,6 +90,9 @@ public class TaskbarView extends FrameLayout implements FolderIcon.FolderIconPar
// We layout the icons to be of mIconTouchSize in width and height
mItemMarginLeftRight = actualMargin - (mIconTouchSize - actualIconSize) / 2;
mItemPadding = (mIconTouchSize - actualIconSize) / 2;
// Needed to draw folder leave-behind when opening one.
setWillNotDraw(false);
}
protected void init(TaskbarViewController.TaskbarViewCallbacks callbacks) {