commit | f0541557979a429f93e2c4d057a76c79dac319d3 | [log] [tgz] |
---|---|---|
author | JW Wang <wangchun@google.com> | Fri Jan 29 21:10:17 2021 +0800 |
committer | JW Wang <wangchun@google.com> | Mon Feb 01 12:40:20 2021 +0800 |
tree | e61bcb1b8f60e6a7c4d4adf7ec55e97ed7dd5762 | |
parent | 757da37e0bdfc5e097a64ec190a1dfdaf1c2665d [diff] |
Fix a race in setExplicitHealthCheckEnabled() (4/n) Sometimes the property change callback is not called within the sleep timeout. Let's call updateConfigs() to apply device config changes immediately to eliminate the race condition. Bug: 178675924 Test: atest PackageWatchdogTest Change-Id: I2b3ce79eac36cfc5ef98a62750142bb6d936e043