diff options
author | Eino-Ville Talvala <etalvala@google.com> | 2014-09-23 16:37:31 -0700 |
---|---|---|
committer | Eino-Ville Talvala <etalvala@google.com> | 2014-09-25 14:06:55 -0700 |
commit | eecc904f13e7a105f5548c953e4caa306fe06f0d (patch) | |
tree | 6d0b4fe3e76c0ced68d45e4d49571435f867f727 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 33ae07ab814df0242625bb1e1961f464b630a7fe (diff) |
Camera2 legacy: Improve robustness to camera service crashes
When the camera service dies, the getParameters call is often the first
to fail, and on legacy mode, this frequently happens in a background thread.
Catch the runtime exceptions and convert to device errors, instead of killing
the process.
Bug: 17587496
Change-Id: I6757961e7c0387defd368a13cb7c343950602400
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions