|
|
|
@ -1569,11 +1569,16 @@ public class CameraView extends FrameLayout { |
|
|
|
|
LOG.e(message, cause); |
|
|
|
|
|
|
|
|
|
// redirect
|
|
|
|
|
CameraException cameraException = new CameraException(message, cause); |
|
|
|
|
final CameraException cameraException = new CameraException(message, cause); |
|
|
|
|
mUiHandler.post(new Runnable() { |
|
|
|
|
@Override |
|
|
|
|
public void run() { |
|
|
|
|
for (CameraListener listener : mListeners) { |
|
|
|
|
listener.onError(cameraException); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
//endregion
|
|
|
|
|