Fixing spacing between folder icon and folder itself

Test: Manual
Bug: 282990506
Flag: not needed
Change-Id: I4a873495ffdf6210b496a4d7d18546dc7483e66e
This commit is contained in:
Jagrut Desai
2023-05-16 14:04:14 -07:00
parent 11939898f3
commit 172266fb4e

View File

@@ -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;
}