commit | 6192b89257c5ae8834faa25b801d561043675d3b | [log] [tgz] |
---|---|---|
author | Eino-Ville Talvala <etalvala@google.com> | Mon Apr 04 12:31:18 2016 -0700 |
committer | Eino-Ville Talvala <etalvala@google.com> | Mon Apr 04 12:31:18 2016 -0700 |
tree | cdae74b88ba798bcf594e66d6ef54cb1a79f89cb | |
parent | b06b9dfc27ec6e58a7aebb82e0d30d32eb95c080 [diff] |
Camera: Ensure correct error message for disconnected devices After a device has been disconnected, should return consistent errors to the caller if they invoke further device methods. For API1, that's INVALID_OPERATION, and for API2, that's ERROR_DISCONNECTED. Change-Id: I0f3d889906a9818c0e03852702b146fd33c9e42a Fixes: 27591189