Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1f8c90d5 authored by Vania Desmonda's avatar Vania Desmonda
Browse files

Fix test flakiness by updating the edge resizing thickness to...

Fix test flakiness by updating the edge resizing thickness to R.dimen.desktop_mode_edge_handle after the
enable_windowing_edge_resizing flag is enabled as this edge handle
threshold is stricter (lower) than the previous R.dimen.freeform_resize_handle.

Test: atest WMShellUnitTests:DragResizeWindowGeometryTests
Fixes: 356591874
Flag: EXEMPT fixing unit test only
Change-Id: I53951a84b8a5f8deb1e9822554e4685dd873e0be
parent 06d5b870
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -56,7 +56,7 @@ import org.junit.runner.RunWith;
public class DragResizeWindowGeometryTests extends ShellTestCase {
    private static final Size TASK_SIZE = new Size(500, 1000);
    private static final int TASK_CORNER_RADIUS = 10;
    private static final int EDGE_RESIZE_THICKNESS = 15;
    private static final int EDGE_RESIZE_THICKNESS = 12;
    private static final int FINE_CORNER_SIZE = EDGE_RESIZE_THICKNESS * 2 + 10;
    private static final int LARGE_CORNER_SIZE = FINE_CORNER_SIZE + 10;
    private static final DragResizeWindowGeometry GEOMETRY = new DragResizeWindowGeometry(