diff options
author | JW Wang <wangchun@google.com> | 2021-01-29 21:25:05 +0800 |
---|---|---|
committer | JW Wang <wangchun@google.com> | 2021-02-01 12:40:21 +0800 |
commit | 0f9fc342ea8c9d3dc42f142323d682176d7a884d (patch) | |
tree | 34d80cb7d77872cd44c54b7c34e0b00251029470 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | f0541557979a429f93e2c4d057a76c79dac319d3 (diff) |
Register and unregister might be out of order (5/n)
Calling unregisterHealthObserver() right after startObservingHealth()
will fail to unregister observers correctly because startObservingHealth()
do registration asynchronously.
Let's do unregistration asynchronously as well to keep things in order.
Bug: 178675924
Test: atest PackageWatchdogTest
Change-Id: I7dfea957fb88f0346cdeea20e626a728ec1a1325
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions