wildma/IDCardCamera

java.lang.RuntimeException Camera is being used after Camera.release() was called

long66xu opened this issue · 0 comments

android.hardware.Camera.setHasPreviewCallback(Native Method)
2 android.hardware.Camera.setOneShotPreviewCallback(Camera.java:1263)
3 com.wildma.idcardcamera.camera.CameraActivity.takePhoto(CameraActivity.java:202)
4 com.wildma.idcardcamera.camera.CameraActivity.onClick(CameraActivity.java:177)
5 android.view.View.performClick(View.java:6627)
6 android.view.View.performClickInternal(View.java:6604)
7 android.view.View.access$3100(View.java:785)
8 android.view.View$PerformClick.run(View.java:26115)
9 android.os.Handler.handleCallback(Handler.java:873)
10 android.os.Handler.dispatchMessage(Handler.java:99)
11 android.os.Looper.loop(Looper.java:224)
12 android.app.ActivityThread.main(ActivityThread.java:7098)
13 java.lang.reflect.Method.invoke(Native Method)
14 com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:537)
15 com.android.internal.os.ZygoteInit.main(ZygoteInit.java:876)