commit | 3267e5259c7a15394a351b58880e06b08f340415 | [log] [tgz] |
---|---|---|
author | Lucas Silva <lusilva@google.com> | Fri Oct 04 12:50:09 2024 -0400 |
committer | Lucas Silva <lusilva@google.com> | Mon Oct 07 14:57:59 2024 -0400 |
tree | a4cd11d602adc63c7fd2ca521b05e74b1614ae4f | |
parent | b81782302015210c1e1383738c0c1cd0b14f239d [diff] |
Update app widget size when resized Instead of relying on the passed-in size, we calculate the size of the view after layout and update the widget with that size. This ensures the widget is always up-to-date with the right size. Bug: 368056517 Test: manually by expanding and shrinking widgets Flag: com.android.systemui.communal_widget_resizing Change-Id: Ief764b582df5e5784d63444d33a2171f6dd5e4be