commit | 154b0883f920d75161f1100ed054718392e166c6 | [log] [tgz] |
---|---|---|
author | Brian Duddie <bduddie@google.com> | Thu Jun 01 18:51:22 2017 -0700 |
committer | Brian Duddie <bduddie@google.com> | Mon Jun 05 14:16:22 2017 -0700 |
tree | 8162c8b0b24e62c0add59c1eeecb055d67389c6c | |
parent | 827e291043c3d48dbf49540e6a11d567a1b96154 [diff] |
contexthub: Handle service death Register for notification of service death for callbacks registered with the context hub HAL. Upon this notification, unregister the callback to avoid crashing if an event occurs prior to the service coming back up. Bug: 36202367 Test: adb shell stop, confirm death notification received via log; vts-tradefed run commandAndExit vts --module VtsHalContexthubV1_0Target Change-Id: I3c25229806cb9f2a116007939c752841edbf0985