Register death handler for the mainline
supplicant service.

Death handling logic is the same as in
SupplicantStaIfaceHalAidlImpl.

Bug: 365585450
Flag: android.net.wifi.flags.usd
Test: atest MainlineSupplicantTest
Test: Manual tests
       1. Kill process from the command line
          and check for the death notification.
       2. Stop the process via the stopService
          method, and check that the count down
          latch is handled correctly.
Change-Id: Ib21195f73a180b681481fa1498a868560c4e2490
2 files changed