bd9b106806f9792be210cc2d9848d8b1f4b9664d |
|
22-Jul-2014 |
Eino-Ville Talvala <etalvala@google.com> |
Camera2: CameraManager refurbishing and error management - Invoke availability listeners when first added - Handle camera service crashes - Listen to service death - Attempt to rebind on every call if service died - If service is still dead, act as if no cameras are connected - Fix bug in DeviceImpl that prevented proper handling of errors on open - For clarity, don't UncheckedThrow for exceptions that are already unchecked Bug: 16514157 Bug: 16483815 Bug: 16483222 Bug: 16561237 Change-Id: I3d54de1204f5a863882cf675fcee6280d53c4039
/frameworks/base/core/java/android/hardware/camera2/utils/CameraServiceBinderDecorator.java
|