diff options
author | Ytai Ben-Tsvi <ytai@google.com> | 2020-10-19 10:27:00 -0700 |
---|---|---|
committer | Eric Arseneau <earseneau@google.com> | 2020-11-12 14:15:58 -0800 |
commit | 7a926eaf2cfb2a4e92349609e4dfe29ada63e3e3 (patch) | |
tree | da82014607e2fdedf3976dab8930779b6e437899 /tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java | |
parent | 55cff7c8c37711ee35e5b1718febd872cdf42e5b (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
(cherry picked from commit 4b42291dc02f1ef09fddf24a78e8f6f9f20eae74)
Diffstat (limited to 'tests/Codegen/src/com/android/codegentest/SampleWithNestedDataClasses.java')
0 files changed, 0 insertions, 0 deletions