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

Commit 3b441008 authored by Lucas Silva's avatar Lucas Silva
Browse files

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
parent 4f94f0d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment