diff options
author | Remi NGUYEN VAN <reminv@google.com> | 2019-05-29 18:30:27 +0900 |
---|---|---|
committer | Remi NGUYEN VAN <reminv@google.com> | 2019-05-30 21:52:51 +0900 |
commit | 6a135107ff27e09c71723d7aed0517b2571d4c81 (patch) | |
tree | 04d7fa9aa5ccead658410f2363bdd0ecb6a3609e /startop/scripts/lib/cmd_utils.py | |
parent | 5855ce28cff87ee35e0533c840fbce3ec5690e27 (diff) |
PackageWatchdog listens for NetworkStack failures
In addition to the NetworkStack app monitoring, have PackageWatchdog
register an observer to NetworkStackClient to receive severe failure
notifications, and attempt a rollback if available.
The callback is registered in onPackagesReady(), which is called in the
boot sequence just before starting the NetworkStack.
Test: installed new networkstack, killed it twice, observe rollback
Test: unit test in change on top
Bug: 133725814
Change-Id: I2cb4200b78c2482cacc4bfe2ace1581b869be512
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions