diff options
| author | 2024-10-17 13:01:47 -0400 | |
|---|---|---|
| committer | 2024-10-18 17:59:18 +0000 | |
| commit | 3b4410086fbda2f31a04351936ce8d6552b8a962 (patch) | |
| tree | 387082e5cb7606d7e6075015e3e7e7c4d18ccd98 /api/coverage/tools | |
| parent | 4f94f0d5acf22c989ae7d21d23272527e2543209 (diff) | |
Fix flickering of the resize frame when resizing
After resizing, the frame flickers briefly due to the offsets not being
immediately set to 0 after resize. To remedy this, we just key the
viewmodel on the current size - and when the current size changes, we
create an entirely new viewmodel, which removes any existing offsets.
Fixes: 372230926
Test: manually by expanding/shrinking widgets and verifying it no longer
flickers
Flag: com.android.systemui.communal_widget_resizing
Change-Id: Iac45e9233d7be9dde4b8dabfd69df7f19c99d9cf
Diffstat (limited to 'api/coverage/tools')
0 files changed, 0 insertions, 0 deletions