Front camera can't use in stock camera app in my Mi6X.
io.reactivex.exceptions.OnErrorNotImplementedException: s == null
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Unknown Source:2)
at io.reactivex.internal.functions.Functions$OnErrorMissingConsumer.accept(Unknown Source:2)
at io.reactivex.internal.observers.ConsumerSingleObserver.onError(Unknown Source:7)
at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onError(Unknown Source:2)
at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onError(Unknown Source:2)
at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onError(Unknown Source:2)
at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onSuccess(Unknown Source:24)
at io.reactivex.internal.operators.single.SingleObserveOn$ObserveOnSingleObserver.run(Unknown Source:14)
at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(Unknown Source:2)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loop(Unknown Source:208)
at android.app.ActivityThread.main(Unknown Source:107)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:274)
Caused by: java.lang.NumberFormatException: s == null
at java.lang.Integer.parseInt(Integer.java:577)
at java.lang.Integer.parseInt(Integer.java:650)
at android.hardware.Camera$Parameters.getInt(Unknown Source:8)
at com.android.camera.hardware.QcomCameraProxy.getMaxSaturation(Unknown Source:2)
at com.android.camera.camera_adapter.CameraQcom.qcomUpdateCameraParametersPreference(Unknown Source:505)
at com.android.camera.camera_adapter.CameraQcom.updateCameraParametersPreference(Unknown Source:3)
at com.android.camera.module.CameraModule.setCameraParameters(Unknown Source:28)
at com.android.camera.module.CameraModule.startPreview(Unknown Source:89)
at com.android.camera.module.CameraModule.onCameraSwitched(Unknown Source:58)
at com.android.camera.module.loader.FunctionSwitchModule.apply(Unknown Source:43)
at com.android.camera.module.loader.FunctionSwitchModule.apply(Unknown Source:2)
at io.reactivex.internal.operators.single.SingleMap$MapSingleObserver.onSuccess(Unknown Source:2)
... 9 more