[General Questions and Answers] Yukimidas:
Excuse me ， I'm from China. My phone is leeco pro3 .and i have a question to ask you ,I tryed many android 7.1 roms , like your's omni , lineage , mokee , everything is ok . But all those roms , the camera didn't works , said can't connect to the camera . I tryed other camera apps , they also didn't work . When I flash back to offical rom( eui android 6.0) , its ok .It seems that there are also some people who have this problem

I don't know whether it is caused by different camera batches.

#######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.<init>(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