nanohub: fix event handling for CHRE

Test: scenario is below

cherry-pick ag/1511251
build and update the nanohub OS;
rebuild all the GTS nanoapps and then rebuild GTS itself

gts-tradefed run everything --skip-system-status-check
  com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker
  --module GtsLocationTestCases --test
  com.google.android.location.gts.ContextHubSendEventNanoAppTest#runTest
  --primary-abi-only

Test should pass

Bug: 31975247
Change-Id: I4b1dfa5ee42e8418356bfffe6199dae0bdb84d64
Signed-off-by: Alexey Polyudov <[email protected]>
8 files changed
tree: 7f5c1fc4eba5f0928ece1bf1fbb402eb1b27d553
  1. contexthubhal/
  2. firmware/
  3. inc/
  4. lib/
  5. sensorhal/
  6. util/
  7. .gitignore