diff options
| author | 2024-08-05 16:17:14 +0100 | |
|---|---|---|
| committer | 2024-08-06 10:56:22 +0100 | |
| commit | 1f8c90d52f0bddcbd1f33d0cf381b5f2916a91fb (patch) | |
| tree | 09eb5b3f27e40939effa63cd16c9c6df01609a1f | |
| parent | 06d5b870dbed121847cc1832b1ece17ebccbfb56 (diff) | |
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
| -rw-r--r-- | libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/DragResizeWindowGeometryTests.java | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/DragResizeWindowGeometryTests.java b/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/DragResizeWindowGeometryTests.java index 77337a03ef55..d8f395d76b39 100644 --- a/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/DragResizeWindowGeometryTests.java +++ b/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/DragResizeWindowGeometryTests.java @@ -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(  |