Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 900f18e4 authored by Luke Huang's avatar Luke Huang
Browse files

Fix DeathRecipient not work problem for UnsolicitedEventListener

linkToDeath of binder only use weak pointer ref for deathRecipient.
Hence local variable deathRecipient would destruct immediately after
registerUnsolEventListener function done.
Use a map to store all deathRecipient.

Bug: 129370555
Test: built, flashed, booted
          system/netd/tests/runtests.sh pass

Change-Id: I1829222dc071e237974033559bfbcce72b05d3fb
parent aee15e05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment