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