diff options
author | Gavin Corkery <gavincorkery@google.com> | 2020-03-09 11:29:45 +0000 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2020-03-09 11:29:45 +0000 |
commit | 68713d98304f942d365e12e4cd63253a13eff32f (patch) | |
tree | 150776d5c1740b4cd9d19d307b69d5a5ff57e5dc /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 9eefc0aca44c2b83db49ae2d391adea69ae9ba04 (diff) |
Only sync requests when there are changes to report
Instead of periodically syncing requests with the same information,
only call into the ExplicitHealthCheckController when the set
of packages with pending health checks has changed. Add tests to
verify that duplicate calls are not made.
Test: atest PackageWatchdogTest#testSyncHealthCheckRequests
Bug: 150114865
Bug: 146767850
Change-Id: Ic99038db0b58eecac467e62eadb8daaa6ed87e26
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions