Skip to content
Commit da436d4a authored by Winson Chung's avatar Winson Chung Committed by Chris Li
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: I1334076cd385955fac7f518356a9703d1544c9bd
parent 576c548b
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