Merge "Fixing spacing between folder icon and folder itself" into udc-dev

This commit is contained in:
Jagrut Desai
2023-05-18 17:21:33 +00:00
committed by Android (Google) Code Review
@@ -101,7 +101,8 @@ public class TaskbarDragLayerController implements TaskbarControllers.LoggableTa
*/
public Rect getFolderBoundingBox() {
Rect boundingBox = new Rect(0, 0, mTaskbarDragLayer.getWidth(),
mTaskbarDragLayer.getHeight() - mActivity.getDeviceProfile().taskbarHeight);
mTaskbarDragLayer.getHeight() - mActivity.getDeviceProfile().taskbarHeight
- mActivity.getDeviceProfile().taskbarBottomMargin);
boundingBox.inset(mFolderMargin, mFolderMargin);
return boundingBox;
}