SupplicantHal: Store the service manager callback

Not storing these callbacks will lead them to be cleaned up and cause a
SIGSEGV when there is a notification.
This is a known limitation with how these objects are refcounted across
the jni boundary.

Bug: 33383725
Test: Crash no longer observed when airplane mode is toggled.
Change-Id: Ide96ef2c2f8ee34e87f52edcf84965f1eb7fcaf7
2 files changed
tree: 7aaedb5b9918c7a25d28423438f7d321008b4bf4
  1. libwifi_hal/
  2. libwifi_system/
  3. service/
  4. tests/
  5. PREUPLOAD.cfg