diff options
| author | 2024-11-06 14:41:13 -0500 | |
|---|---|---|
| committer | 2024-11-06 14:43:35 -0500 | |
| commit | cc1c41271693dc91d6ce8d72e71c60363f1157d2 (patch) | |
| tree | ee127a4bdcbbae3c8e9e591bef31a8e2d43b6dcb /libs/input/PointerController.cpp | |
| parent | 33942c1e23c3d2deb9f732653f693d36a55fbbf9 (diff) | |
Fix flickering when adding a new widget
When adding a new widget on top of a large widget, it may be that the
large widget won't move in the grid as a result of the new widget being
added. In this case, we currently get stuck in a loop where we
continuously swap the positions of the widgets.
This fix ensures that we don't try to swap with the previous widget to
avoid this loop.
Fixes: 376493295
Test: manually by dragging and dropping a widget on top of a large
widget
Flag: com.android.systemui.communal_widget_resizing
Change-Id: If83d00a2b2bb1d7f704c9576cb87a70a5a9ffa9a
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions