summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorshafik <shafik@google.com>2019-04-29 20:08:07 +0100
committershafik <shafik@google.com>2019-05-02 15:15:59 +0100
commitc5805fb97341de58c1c533c7b089cbef9de7103b (patch)
treef4f811ce736ebc3605b7ef2179daff55eb97e8cb /tools/aapt2/java/JavaClassGenerator_test.cpp
parent28c538d2896ab379ba9d87c3c1253e2d5d2f5d89 (diff)
Make Native Watchdog trigger RollbackManager rollback
Make RollbackPackageHealthObserver poll the status of ro.init.updatable_crashing 10 times with 30-second interval. This happens after the reboot. If the property is set, a RollbackManager level rollback is triggered for the rollback including Module Metadata Package. Also post RollbackPackageHealthObserver#onBootCompleted to the handler thread. Note: the plan is to make the polling time and number of polls configurable via DeviceConfig. Test: planted logs and made sure the polling thread is active every 30 seconds for 10 times. Test: * install a staged mainline module update with rollback enabled * reboot * kill zygote process 4 times * verify that rollback has been committed Bug: 128501975 Change-Id: Id5fb37dd853a6e83e0663edb2857e5a24a597d1a
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions