summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author Pinyao Ting <pinyaoting@google.com> 2022-03-21 20:11:58 -0700
committer Pinyao Ting <pinyaoting@google.com> 2022-03-21 20:11:58 -0700
commit9c2cb7e257439bbfd3afc101025bf8bccc5ff5bc (patch)
tree6183b559ec3a828d81994881dcaba86c435850fc /libs/androidfw/AttributeResolution.cpp
parent286fd132d616b1402b10cf4515cc681de514db1b (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
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions