[LeEco Le 2 Questions & Answers] minuitvampire:
Hello,

I have LeEco Le2 X257, where I have flashed twrp-3.2.1-1-codeworkx-s2.img and lineage-15.1-20190621-nightly-s2-signed.zip. DIrectly after flashing I have checked the camera functionality and it was starting without any problems. Then, without doing any further installations or settings, I have encrypted the phone. After encryption was finished, unfortunately, the camera app does not start anymore. Instead, I get only "camera has stopped" pop-up. Stopping camera app, reboot, clearing app data and cache does not help.

adb logcat shows the following errors:

06-22 11:41:02.623 10811 10931 D AudioService: Stream muted, skip playback
06-22 11:41:02.626 10811 12076 I ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 pkg=org.lineageos.snap cmp=org.lineageos.snap/com.android.camera.CameraLauncher bnds=[846,1705][1050,1915]} from uid 10014
06-22 11:41:02.688 10811 12085 I ActivityManager: Start proc 14799:org.lineageos.snap/u0a32 for activity org.lineageos.snap/com.android.camera.CameraLauncher
06-22 11:41:02.804 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_VGA
06-22 11:41:02.805 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_VGA
06-22 11:41:02.805 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.805 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.805 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:42)
06-22 11:41:02.805 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.805 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.805 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.805 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.805 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.805 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.805 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.805 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.805 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.805 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.806 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.806 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.806 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.806 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.806 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.806 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_4KDCI
06-22 11:41:02.806 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_4KDCI
06-22 11:41:02.806 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.806 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.806 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:44)
06-22 11:41:02.806 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.806 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.807 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.807 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.807 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.807 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.807 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.807 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.807 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.807 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.807 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.807 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.807 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.807 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.807 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.807 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_TIME_LAPSE_VGA
06-22 11:41:02.807 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_TIME_LAPSE_VGA
06-22 11:41:02.807 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.808 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.808 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:46)
06-22 11:41:02.808 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.808 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.808 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.808 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.808 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.808 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.808 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.808 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.808 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.808 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.808 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.808 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.808 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.808 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.808 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.808 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_TIME_LAPSE_4KDCI
06-22 11:41:02.809 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_TIME_LAPSE_4KDCI
06-22 11:41:02.809 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.809 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.809 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:48)
06-22 11:41:02.809 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.809 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.809 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.809 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.809 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.809 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.809 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.809 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.809 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.809 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.809 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.809 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.809 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.809 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.809 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.810 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_CIF
06-22 11:41:02.810 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_HIGH_SPEED_CIF
06-22 11:41:02.810 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.810 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.810 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:50)
06-22 11:41:02.810 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.810 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.810 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.810 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.810 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.810 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.810 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.810 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.810 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.810 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.810 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.811 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.811 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.811 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.811 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.811 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_VGA
06-22 11:41:02.811 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_HIGH_SPEED_VGA
06-22 11:41:02.811 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.811 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.811 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:52)
06-22 11:41:02.811 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.811 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.811 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.811 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.811 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.811 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.811 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.811 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.812 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.812 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.812 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.812 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.812 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.812 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.812 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.812 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_HIGH_SPEED_4KDCI
06-22 11:41:02.812 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_HIGH_SPEED_4KDCI
06-22 11:41:02.812 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.812 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.812 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:54)
06-22 11:41:02.812 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.812 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.812 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.813 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.813 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.813 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.813 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.813 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.813 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.813 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.813 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.813 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.813 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.813 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.813 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.813 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_QHD
06-22 11:41:02.813 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_QHD
06-22 11:41:02.813 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.814 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.814 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:56)
06-22 11:41:02.814 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.814 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.814 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.814 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.814 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.814 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.814 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.814 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.814 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.814 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.814 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.814 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.814 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.814 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.814 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.814 14799 14799 D Wrapper : getField:class android.media.CamcorderProfile field:QUALITY_2k
06-22 11:41:02.814 14799 14799 W System.err: java.lang.NoSuchFieldException: QUALITY_2k
06-22 11:41:02.815 14799 14799 W System.err:	at java.lang.Class.getField(Class.java:1601)
06-22 11:41:02.815 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.Wrapper.getField(Wrapper.java:77)
06-22 11:41:02.815 14799 14799 W System.err:	at org.codeaurora.snapcam.wrapper.CamcorderProfileWrapper.<clinit>(CamcorderProfileWrapper.java:58)
06-22 11:41:02.815 14799 14799 W System.err:	at com.android.camera.CameraSettings.<clinit>(CameraSettings.java:325)
06-22 11:41:02.815 14799 14799 W System.err:	at com.android.camera.CameraSettings.upgradeGlobalPreferences(CameraSettings.java:1366)
06-22 11:41:02.815 14799 14799 W System.err:	at com.android.camera.SettingsManager.<init>(SettingsManager.java:205)
06-22 11:41:02.815 14799 14799 W System.err:	at com.android.camera.SettingsManager.createInstance(SettingsManager.java:240)
06-22 11:41:02.815 14799 14799 W System.err:	at com.android.camera.app.CameraApp.onCreate(CameraApp.java:45)
06-22 11:41:02.815 14799 14799 W System.err:	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1119)
06-22 11:41:02.815 14799 14799 W System.err:	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5740)
06-22 11:41:02.815 14799 14799 W System.err:	at android.app.ActivityThread.-wrap1(Unknown Source:0)
06-22 11:41:02.815 14799 14799 W System.err:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
06-22 11:41:02.815 14799 14799 W System.err:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:02.815 14799 14799 W System.err:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:02.815 14799 14799 W System.err:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:02.815 14799 14799 W System.err:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:02.817 14799 14799 W System.err:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:02.817 14799 14799 W System.err:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:02.824 14799 14799 I CameraManagerGlobal: Connecting to camera service
06-22 11:41:02.919 14799 14799 D CAM_Activity: Camera API 2 supported: false
06-22 11:41:02.919 14799 14799 D CAM_Activity: Camera API 2 enabled: false
06-22 11:41:03.077 14799 14799 W SoundPool: Use of stream types is deprecated for operations other than volume control
06-22 11:41:03.077 14799 14799 W SoundPool: See the documentation of SoundPool() for what to use instead with android.media.AudioAttributes to qualify your playback use case
06-22 11:41:03.079 14799 14820 V NuMediaExtractor: setDataSource fd=40 (/system/priv-app/Snap/Snap.apk), offset=1778784, length=6656
06-22 11:41:03.097 14799 14820 V NuMediaExtractor: track of type 'audio/vorbis' does not publish bitrate
06-22 11:41:03.115 14799 14821 I OMXClient: Treble IOmx obtained
06-22 11:41:03.116 3209 3234 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in omx@1.0-service process
06-22 11:41:03.130 427 427 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(32768) returning hidl_memory(0x7fa4e17480, 32768)
06-22 11:41:03.178 427 427 I chatty : uid=1000(system) allocator@1.0-s identical 10 lines
06-22 11:41:03.179 427 427 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(32768) returning hidl_memory(0x7fa4e17480, 32768)
06-22 11:41:03.191 14799 14799 V CAM_UI : Using mdp_preview_content (MDP path)
06-22 11:41:03.202 14799 14825 V CAM_PhotoModule: Open camera device.
06-22 11:41:03.204 14799 14825 V CameraHolder: open camera 0
06-22 11:41:03.208 14799 14825 E CameraHolder: fail to connect Camera:-1, aborting.
06-22 11:41:03.208 14799 14825 E CAM_PhotoModule: Failed to open camera:0
06-22 11:41:03.227 14799 14799 V NFC : this device does not have NFC support
06-22 11:41:03.256 14799 14799 D AndroidRuntime: Shutting down VM
06-22 11:41:03.257 14799 14799 E AndroidRuntime: FATAL EXCEPTION: main
06-22 11:41:03.257 14799 14799 E AndroidRuntime: Process: org.lineageos.snap, PID: 14799
06-22 11:41:03.257 14799 14799 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {org.lineageos.snap/com.android.camera.CameraLauncher}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3581)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3621)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2862)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.ActivityThread.-wrap11(Unknown Source:0)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.os.Handler.dispatchMessage(Handler.java:106)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.os.Looper.loop(Looper.java:164)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.ActivityThread.main(ActivityThread.java:6494)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at java.lang.reflect.Method.invoke(Native Method)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:440)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
06-22 11:41:03.257 14799 14799 E AndroidRuntime: Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at com.android.camera.PhotoModule.initializeFocusManager(PhotoModule.java:2973)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at com.android.camera.PhotoModule.onResumeBeforeSuper(PhotoModule.java:2747)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at com.android.camera.CameraActivity.onResume(CameraActivity.java:1848)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.Activity.performResume(Activity.java:7117)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3556)
06-22 11:41:03.257 14799 14799 E AndroidRuntime:	... 10 more
06-22 11:41:03.262 10811 12077 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraLauncher
06-22 11:41:03.273 10811 10827 I ActivityManager: Showing crash dialog for package org.lineageos.snap u0
06-22 11:41:03.291 14799 14820 V NuMediaExtractor: setDataSource fd=42 (/system/priv-app/Snap/Snap.apk), offset=1785500, length=6979
06-22 11:41:03.306 14799 14820 V NuMediaExtractor: track of type 'audio/vorbis' does not publish bitrate
06-22 11:41:03.317 14799 14831 I OMXClient: Treble IOmx obtained
06-22 11:41:03.318 3209 5570 I OMXMaster: makeComponentInstance(OMX.google.vorbis.decoder) in omx@1.0-service process
06-22 11:41:03.327 427 427 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(32768) returning hidl_memory(0x7fa4e17480, 32768)
06-22 11:41:03.331 427 427 I chatty : uid=1000(system) allocator@1.0-s identical 2 lines
06-22 11:41:03.332 427 427 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(32768) returning hidl_memory(0x7fa4e17480, 32768)
06-22 11:41:03.337 10811 13120 I OpenGLRenderer: Initialized EGL, version 1.4
06-22 11:41:03.337 10811 13120 D OpenGLRenderer: Swap behavior 2
06-22 11:41:03.338 427 427 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(32768) returning hidl_memory(0x7fa4e17480, 32768)
06-22 11:41:03.767 10811 10826 W ActivityManager: Activity pause timeout for ActivityRecord{4776510 u0 org.lineageos.snap/com.android.camera.CameraLauncher t57 f}
06-22 11:41:03.364 427 427 I chatty : uid=1000(system) allocator@1.0-s identical 6 lines
06-22 11:41:03.366 427 427 W /system/bin/hw/android.hidl.allocator@1.0-service: ashmem_create_region(32768) returning hidl_memory(0x7fa4e17480, 32768)
06-22 11:41:04.391 12078 12165 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-22 11:41:06.556 10811 12077 W ActivityManager: Force finishing activity org.lineageos.snap/com.android.camera.CameraLauncher
06-22 11:41:04.391 12078 12165 W OpenGLRenderer: Incorrectly called buildLayer on View: ShortcutAndWidgetContainer, destroying layer...
06-22 11:41:06.557 10811 10931 D AudioService: Stream muted, skip playback
06-22 11:41:06.558 10811 12077 I ActivityManager: Killing 14799:org.lineageos.snap/u0a32 (adj 0): crash
06-22 11:41:06.559 10811 10828 W zygote64: kill(-14799, 9) failed: No such process
06-22 11:41:06.605 10811 10828 W zygote64: kill(-14799, 9) failed: No such process
06-22 11:41:06.605 10811 10828 I zygote64: Successfully killed process cgroup uid 10032 pid 14799 in 45ms
06-22 11:41:06.770 10811 10862 W AppOps : Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0

Do you have any ideas, how to fix the issue?