commit | c5cbb87d00ead068a7088db4060bce1c0e699b8c | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Thu Apr 27 12:48:33 2017 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Mon May 01 20:31:43 2017 +0000 |
tree | 1c86d0d823e7a924c3002c469f2ea03d1d86596b | |
parent | 76e360332d7e0e4c0c132bf712c14f5a8ee2a217 [diff] |
Camera service: Don't crash if the camera HAL dies mid-use. Check for transaction errors in all calls to the HIDL interface; return DEAD_OBJECT consistently if a transaction error occurs. Test: Camera CTS does not regress; killing camera HAL does not kill camera service. Bug: 37748853 Change-Id: Iab3ad08376e164db340f8f29c3cfc7fdf261cc00