diff options
author | Zimuzo <zezeozue@google.com> | 2019-01-30 12:05:41 +0000 |
---|---|---|
committer | Zimuzo <zezeozue@google.com> | 2019-01-30 14:37:03 +0000 |
commit | c119780925ed47e9736cc8e1748d9d3d09e4fc03 (patch) | |
tree | df07cae3b3b8b3a6e3a3e31aef03451aa27cf22e /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | ffcf6e546085b7398c0002f616ca0a36fed0f8e4 (diff) |
Fix null RollbackManager in RollbackHealthObserver and minor todos
1. RollbackManager was instantiated by Context#getSystemService in
RollbackHealthObserver. At this time, RollbackManager has not yet
been published as a service to the system, so RollbackManager was null.
We now #getSystemService lazily so RollbackManager is never null.
2. Pass causePackages from RollbackHealthObserver to RollbackManager
3. Also fixed flaky ignored test exercising PackageWatchdog auto rollback
Test: atest RollbackTest
Bug: 123615508 112431924
Change-Id: I8f15c257b1efd96a96656405d3d7f74576a32c8e
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions