When I am trying to get fullscreen snap then camera apps get crushed and showed the bug report :
java.lang.IllegalArgumentException: input size 4640x2088 is not valid at android.hardware.camera2.impl.CameraDeviceImpl.checkInputConfiguration(Unknown Source:133)) at android.hardware.camera2.impl.CameraDeviceImpl.configureStreamsChecked(Unknown Source:25) at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSessionInternal(Unknown Source:48) at android.hardware.camera2.impl.CameraDeviceImpl.createCaptureSession(Unknown Source:36) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.createCaptureSessionWithSessionConfiguration(VirtualCameraReprocessor.java:4) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.createReprocessSession(to :21) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.createCaptureSessionIfNeed(VirtualCameraReprocessor.java:44)at at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.checkConditionIsReady(VirtualCameraReprocessor.java:8) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor.access$1500(VirtualCameraReprocessor.java:1) at com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor$ReprocessHandler.handleMessage(VirtualCameraReprocessor.java:13) at android.os.Handler.dispatchMessage(Unknown Source:19) at android.os.Looper.loop(Unknown Source:242) at android.os.HandlerThread.run(Unknown Source:28)
I decompile the apk but I couldn't find this section to correct it, can anyone show a way how to resolve it. I searched every smalli but I did not find (android.hardware.camera2.impl, android.os.HandlerThread.run, android.os.Looper.loop, com.xiaomi.camera.imagecodec.impl.VirtualCameraReprocessor) where do I find all of these error to correct and how?
Top comments (0)