求助开发者!后置相机和闪光灯FC.已上传错误日志

求助开发者!后置相机和闪光灯FC.已上传错误日志
0

#1

的手机是乐视pro3.刷官方的eui和jui的相机都是可以使用的,但是只要安装的是第三方的就会出现后置摄像头和闪光灯不能使用的问题,刷入方法无问题。怀疑是相机批次不同造成的驱动不兼容, 特别喜欢魔趣,已捐助,求开发者修复或办法。
#######RuntimeEnvironmentInformation#######
crash time=2017-11-12 10:05:25.644
model=LEX720
android version=7.1.2(25)
brand=LeEco
manufacturer=LeEco
board=msm8996
hardware=qcom
device=le_zl1
version name=2.0.002 (ecafc13373-00)
supported_abis=arm64-v8a & armeabi-v7a & armeabi
display=LePro3-userdebug 7.1.2 NJH47F ecafc13373
#######ForceCloseCrashLog#######
FATAL EXCEPTION: main
Process: org.cyanogenmod.snap, PID: 19260
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.cyanogenmod.snap/com.android.camera.CameraActivity}: java.lang.IllegalArgumentException: width must be positive
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2684)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2751)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1496)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6186)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
Caused by: java.lang.IllegalArgumentException: width must be positive
at com.android.internal.util.Preconditions.checkArgumentPositive(Preconditions.java:231)
at android.hardware.camera2.params.StreamConfiguration.(StreamConfiguration.java:63)
at android.hardware.camera2.marshal.impl.MarshalQueryableStreamConfiguration$MarshalerStreamConfiguration.unmarshal(MarshalQueryableStreamConfiguration.java:59)
at android.hardware.camera2.marshal.impl.MarshalQueryableStreamConfiguration$MarshalerStreamConfiguration.unmarshal(MarshalQueryableStreamConfiguration.java:53)
at android.hardware.camera2.marshal.impl.MarshalQueryableArray$MarshalerArray.unmarshal(MarshalQueryableArray.java:93)
at android.hardware.camera2.impl.CameraMetadataNative.getBase(CameraMetadataNative.java:474)
at android.hardware.camera2.impl.CameraMetadataNative.getBase(CameraMetadataNative.java:454)
at android.hardware.camera2.impl.CameraMetadataNative.getStreamConfigurationMap(CameraMetadataNative.java:841)
at android.hardware.camera2.impl.CameraMetadataNative.-wrap3(CameraMetadataNative.java)
at android.hardware.camera2.impl.CameraMetadataNative$5.getValue(CameraMetadataNative.java:512)
at android.hardware.camera2.impl.CameraMetadataNative.get(CameraMetadataNative.java:354)
at android.hardware.camera2.impl.CameraMetadataNative.get(CameraMetadataNative.java:325)
at android.hardware.camera2.CameraCharacteristics.get(CameraCharacteristics.java:188)
at com.android.camera.SettingsManager.getSupportedPictureSize(SettingsManager.java:858)
at com.android.camera.SettingsManager.filterPreferences(SettingsManager.java:526)
at com.android.camera.SettingsManager.setLocalIdAndInitialize(SettingsManager.java:218)
at com.android.camera.SettingsManager.init(SettingsManager.java:200)
at com.android.camera.CaptureModule.init(CaptureModule.java:971)
at com.android.camera.CameraActivity.selectModule(CameraActivity.java:2200)
at com.android.camera.CameraActivity.setModuleFromIndex(CameraActivity.java:2146)
at com.android.camera.CameraActivity.onCreate(CameraActivity.java:1517)
at android.app.Activity.performCreate(Activity.java:6684)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2637)
… 9 more


#2

该主题在最后一个回复创建后30天后自动关闭。不再允许新的回复。