summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Lucas Silva <lusilva@google.com> 2024-11-14 15:36:48 -0500
committer Lucas Silva <lusilva@google.com> 2024-11-15 10:54:58 -0500
commit8e08e35243c99c1a7099ae76e721912e1ddf5c00 (patch)
treebb926c2244698ef91c375439ba7ab7cc5b8ff222 /libs/androidfw/FileStream.cpp
parent4b817c8fecf1fa4c6aadaa6ad2ab38916e53aa6d (diff)
Fix issue where widget disappears when reordering
The issue is that if the last widget in the grid is larger than the current widget being dragged, and we attempt to swap places with the last widget in the grid, we will end up placing the widget outside of the viewport. Therefore we explictly check for this case and don't swap places. This would force the user to scroll before they can swap. Fixes: 376493654 Test: manually on device by having a full size widget at the end of the grid Flag: com.android.systemui.communal_widget_resizing Change-Id: I817a277377332fab709ef5a4c7a0216570a94f76
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions