Skip to content
Commit 70c7a414 authored by Winson Chung's avatar Winson Chung
Browse files

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

Bug: 190786551
Test: Kill SysUI and ensure it doesn't throw
Change-Id: I1204818eefd96d2eb1fb6d195e186f36fd47efac
parent c45b4a0a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment