bugfix: allow rx handler to register another rx handler

SessionTrack's URSK_DELETION is executed from rx handler
and it registers another rx handler for URSK_DELETE_{RSP|NTF} packet.
So it's a recursion between rx handler execution & registration.

To avoid race conditions, in rx handler execution path,
local copy the rx handler list before calling handlers.
It won't hold rx handler lock in calling each handler.

Bug: 378432364
Test: cmd uwb start-ccc-ranging-session
Change-Id: I67d9fe46065fe5143390d9e457dcba37b2c3dadc
Merged-In: I67d9fe46065fe5143390d9e457dcba37b2c3dadc
1 file changed
tree: b27f734c490d06a9ce352642246186ac7e9d5824
  1. aidl/
  2. extns/
  3. halimpl/
  4. Android.bp