summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorYtai Ben-Tsvi <ytai@google.com>2020-03-26 14:58:51 -0700
committerYtai Ben-Tsvi <ytai@google.com>2020-03-26 15:29:07 -0700
commit7b6bb40e6a1c0ce385e446467a972e6fad05262c (patch)
treeb51a2673e3f43cf0722386fc1dfb02946f82faec /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent7abd9be7a28a5f45d9a24d6609a7d86109a82401 (diff)
Gracefully handle module death in SoundTriggerMiddlewareValidation
Previously, when the sound trigger module died (typically, when the HAL process crashed), the SoundTriggerMiddlewareValidation module would consider the client's attempt to detach() invalid, since it has not unloaded the models. However, in this case, it is valid to detach without unloading them. Furthermore, dumpsys would not reflect the fact that the session is dead. This is now fixed as well. Fixes: 152523828 Bug: 152470531 Test: Manually killing audio server after sound models are loaded and inspection of the logs and dumpsys. Change-Id: I96c6bcddb25a67ff440c0375b20036d57e5cd837
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions