Add AIDL UnlinkToDeath() to Finalize

Fix for the case when finalize without Shutdown.

Improper initialization of the NfcHalDeathRecipient led to
incorrect reference counting in android::sp object, causing
a memory leak.

Bug: 195455309
Bug: 180971158
Test: manual
Change-Id: I836fd15cec6bac150c260966dc98b4eaa63aba43
1 file changed
tree: 017e2793589f80c95489213115f46ba52f618bd8
  1. conf/
  2. src/
  3. utils/
  4. .clang-format
  5. Android.bp
  6. CleanSpec.mk
  7. NOTICE
  8. OWNERS
  9. PREUPLOAD.cfg
  10. run_unit_tests.sh