diff options
| author | 2022-03-22 23:29:21 +0000 | |
|---|---|---|
| committer | 2022-04-09 01:01:47 +0000 | |
| commit | 09ddda9fdac1e63f01a27854d46b4d006efc66b9 (patch) | |
| tree | 22589d182a8eb6bb5414fba9c2ad4df02dccc79a /api/api.go | |
| parent | f52220af19e3bcca7e9a91d74a2a955889c737d6 (diff) | |
Implement extra persistence layer for widget provider info
Currently widget provider info are loaded from the manifests of
respective packages, which is not performant since loading the
resources from various apps could take a while.
This CL does the following:
1. Instead of persisting only the providers that are bound to the
workspace, we persists all providers.
2. In addition to providers, we also persists the provider info to avoid
loading them from app's resource during a reboot.
Bug: 202356231
Test: atest AppWidgetServiceImplTest
Change-Id: I91fead0b61b0cb84d876dd05781a585805a01400
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions