diff options
author | Gavin Corkery <gavincorkery@google.com> | 2020-03-09 11:29:45 +0000 |
---|---|---|
committer | Gavin Corkery <gavincorkery@google.com> | 2020-03-17 22:41:09 +0000 |
commit | 449b5853ba3b8e15140771b51372672a40bf68f9 (patch) | |
tree | 4c5f4ed11b328cde78ca31c35d941b2d63029d8b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6e4ef9b5eb5e15d4f5548fb614aa102590a95c69 (diff) |
Sync requests only 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, or a new observer
has been registered. Add tests to verify that duplicate calls are not made.
Test: atest PackageWatchdogTest#testSyncHealthCheckRequests
Test: atest NetworkStagedRollbackTest
Bug: 150114865
Bug: 146767850
Change-Id: I2926e9c7689e0ac9c4a142263ffd50a4747d016f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions