diff options
author | Ytai Ben-Tsvi <ytai@google.com> | 2020-10-19 10:27:00 -0700 |
---|---|---|
committer | Ytai Ben-Tsvi <ytai@google.com> | 2020-10-19 10:27:59 -0700 |
commit | 4b42291dc02f1ef09fddf24a78e8f6f9f20eae74 (patch) | |
tree | bca6ca0de20dab89824ece390583a7792fe17788 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | ab09038cd338c46be577bb3df8f0b187cf48bdce (diff) |
Handle exception on setCaptureState
The call to set the capture state is coming from a system server
thread and so failing to handle exception would result in crashing the
system_server process (soft reboot).
Instead, we just log these exceptions on the client side and assume
that the server knows how to recover.
Bug: 171182853
Test: Manual verification that key sound trigger features still
work.
Change-Id: I97a0b8044f0b6200b4f87fbcf73fca939258b070
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions