+3
−0
+2
−2
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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