diff options
author | Winson Chung <winsonc@google.com> | 2021-06-25 17:04:31 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2021-07-20 22:03:04 +0000 |
commit | cfabf151e5e4603c75fa0ce05b36165863b01ef8 (patch) | |
tree | 363b7ad7d75fe64df4e2406ca4f30988e2ee1c20 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 50ffbb96c77b309fb70f6f716b3bf89458b1330c (diff) |
Clean up previous DA organizer when registering
- There is no guarantee that binderDied() will come in for the old
process before it tries to re-register. Instead, force clean up
the existing organizer if another organizer is registered for the
same feature
- Also unlink the death recipient when unregistering/cleaning up the
organizer
Fixes: 190786551
Test: Kill SysUI and ensure it doesn't throw
Test: atest DisplayAreaTest
Change-Id: I1204818eefd96d2eb1fb6d195e186f36fd47efac
Merged-In: I1204818eefd96d2eb1fb6d195e186f36fd47efac
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions