diff options
author | Ng Zhi An <zhin@google.com> | 2018-12-14 14:56:20 -0800 |
---|---|---|
committer | Ng Zhi An <zhin@google.com> | 2018-12-27 18:27:34 -0800 |
commit | 36de60dc322ba4176947f7509bad19b9c9699b92 (patch) | |
tree | abd5ed338a19d281f70075e96edda45c22611f3e /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 21ffe60b70a8f9fae6ecddb424004bd9ac016d57 (diff) |
Do not load xml metadata for unchanged packages in RegisteredServicesCache
RegisteredServicesCache caches services in an xml, so the system doesn't
have to scan all the apks. Whenever a package is changed
(add/remove/replaced), the broadcast receiver in RegisteredServicesCache
will refresh this cache by quering all matching services and reading their
xml metadata. There is extra work done here, because only the changed package
will have services added/removed.
This change changes RegisteredServicesCache to only get the service info of changed packages.
Bug: 117755076
Test: atest RegisteredServicesCache
Change-Id: I2d9e7980fcd651617e450ff12e1588601de4ef6c
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions