| commit | 9c2cb7e257439bbfd3afc101025bf8bccc5ff5bc | [log] [tgz] |
|---|---|---|
| author | Pinyao Ting <pinyaoting@google.com> | Mon Mar 21 20:11:58 2022 -0700 |
| committer | Pinyao Ting <pinyaoting@google.com> | Mon Mar 21 20:11:58 2022 -0700 |
| tree | 6183b559ec3a828d81994881dcaba86c435850fc | |
| parent | 286fd132d616b1402b10cf4515cc681de514db1b [diff] |
Further defer loading widgets until it is absolutely needed. Current implementation parses the provider info from all manifests in every app the first time getInstalledProvidersForProfile is called, which causes unnecessary delay on the call-site if only a single package was requested. This CL ensures widgets loading are deferred further down the line, until it is absolutely needed to be parsed. Bug: 202356231 Test: manual Change-Id: I793bd818781ae956cd5bc590a315c669d01e7ca6