diff options
Diffstat (limited to 'src/com/android/camera/Camera.java')
-rw-r--r-- | src/com/android/camera/Camera.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/com/android/camera/Camera.java b/src/com/android/camera/Camera.java index 970d98e..982f235 100644 --- a/src/com/android/camera/Camera.java +++ b/src/com/android/camera/Camera.java @@ -1492,6 +1492,7 @@ public class Camera extends ActivityBase implements FocusManager.Listener, CameraHolder.instance().release(); mCameraDevice.setZoomChangeListener(null); mCameraDevice.setFaceDetectionListener(null); + mCameraDevice.setErrorCallback(null); mCameraDevice = null; mCameraState = PREVIEW_STOPPED; mFocusManager.onCameraReleased(); |