Reboot sound trigger HAL on exception
The previous mechanism for doing that was broken, relied on
onTransact() to be called for every method, when in fact it doesn't
get called whenever the caller is in the same process as the server.
This change moves this behavior to a lower layer, as part of HAL
enforcement.
Fixes: 153461865
Test: Injected spurious errors to some HAL operations and verified the
HAL gets rebooted and recovery is correct according to
diagnostics and testing behavior after the reboot.
Change-Id: Ic399bf8808cb35fda5b1766cbe30c2ce5c792c2c
2 files changed