am 5d87227b: Merge "Clear callbacks in camera stopPreview." into ics-factoryrom
* commit '5d87227bad8126d701145cd07c3ac2a365e8480e': Clear callbacks in camera stopPreview.
This commit is contained in:
@@ -480,6 +480,12 @@ public class Camera {
|
|||||||
public final void stopPreview() {
|
public final void stopPreview() {
|
||||||
_stopPreview();
|
_stopPreview();
|
||||||
mFaceDetectionRunning = false;
|
mFaceDetectionRunning = false;
|
||||||
|
|
||||||
|
mShutterCallback = null;
|
||||||
|
mRawImageCallback = null;
|
||||||
|
mPostviewCallback = null;
|
||||||
|
mJpegCallback = null;
|
||||||
|
mAutoFocusCallback = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private native final void _stopPreview();
|
private native final void _stopPreview();
|
||||||
|
|||||||
Reference in New Issue
Block a user