Shamali Patwa 1027bb0419 Fix flicker issue in widget picker with app activity in background
When apps are being installed in background, the widgets maybe rebound;
similarly, when app activity e.g. messaging happens, sometimes
recommendations are regenerated and bound again.

For the widget section that is expanded, when recycling the displayed
table, we reuse the rows that didn't change.

For recommendations, we already make sure we don't change them when
unless mRecommendedWidgetsMap is reset - so this change just ensures to
additionally re-render only when conditions such as available space or
uiMode are changed.

Bug: 393080128
Fix: 393080128
Flag: EXEMPT BUGFIX
Test: Manual - reproduced the scenario mentioned above.
Change-Id: I46a564c3f7b75145dd168f7fb0b59c130540df78
2025-03-10 12:40:10 -07:00
2025-03-07 12:59:50 -08:00
2024-01-23 15:55:40 -08:00
2019-11-25 20:24:07 +09:00
2024-03-22 15:45:32 -07:00
S
Description
No description provided
658 MiB
Languages
Java 57.2%
Kotlin 42.4%
AIDL 0.3%