summaryrefslogtreecommitdiff
path: root/quickstep/src/com/android/launcher3/model/WidgetsPredictionUpdateTask.java
AgeCommit message (Collapse)Author
2021-10-25Make sure distinct widgets items are used when mapping widget componentAlina Zaidi
names to widget items. This is to prevent a crash on duplicate key when creating map. Bug: 204065759 Test: Enabled flag and got no crash Change-Id: Ice9f93af76c02eeba53c934687358ed806c60b60
2021-06-30Log widgets source.Yogisha Dixit
Test: manual (1) Upgrading to new DB version is successful (no errors thrown in logcat) (2) Widgets that were added with the old DB version have CONTAINER_UNKNOWN as their source container (3) Widgets that are added with the new DB version still log source container after reboot Bug: 185778648 Change-Id: Iaa38f0be6bc4cb0d29842f9a2ea0d08de000c930
2021-04-28Add a flag to enable custom local filter for recommended widgetsSteven Ng
Test: Run WidgetsPredictionUpdateTaskTest Bug: 186648032 Change-Id: I2bd5e2c81f971e0a40a4b05c8cab2a7adb171f96
2021-03-08Widgets recommendation backendSteven Ng
Add a widgets recommendation mechanism based on AiAI app predication ranking with the following changes: 1. Only one widget is picked from one app. 2. Widgets that are already added to the workspace are excluded from the recommendation. Test: run PredicationUpdateTaskTest Bug: 179797520 Change-Id: Ia697bc6df0bae75969e68b7b3de32d57901f7461