08788a939b23c2b6a8fb76a57701c2344c69bc2a
The widget migration was using the variable DbEntry.mIntent as an id for calculating the difference between two workspaces but widgets don't have that variable, it's always null. So that had created some bugs. Also, the function GridSizeMigrationTaskV2.calcDiff didn't accounted for repeated icons or repeated widgets. It's not a big deal not account for repeated icons, but repeated widgets can be usefull for the user, so now calcDiff keeps repeated icons and widgets. Fix: 229701468 Test: Add multiple icons and widgets in the workspace and change the grid size, this code only runs after the first time you change the grid size, so try a couple of times. It should keep the widgets and icons, even if they are repeated. Change-Id: I5812445cec8364d8cc57cbcc3f1ae04ba9099932
Merge "Use global color extraction in widgets for wallpaper preview" into sc-v2-dev am:
9b3ef3e638 am: df311603e9
Description
No description provided
Languages
Java
57.2%
Kotlin
42.4%
AIDL
0.3%