[Google Camera Mods] flatratte82:
[MENTION=9040262]Urnyx05[/MENTION]:

Device: MI9T Pro

OS: MIUI 11 9.12.5 (xiaomi.eu)

Crash if trying to open the settings while having the wide angle or zoom lens selected:

FATAL EXCEPTION: main
Process: org.codeaurora.snapcam, PID: 10332
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.codeaurora.snapcam/com.google.android.apps.camera.legacy.app.settings.CameraSettingsActivity}: java.lang.IllegalArgumentException
at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:242)
at android.app.ActivityThread.main(Unknown Source:98)
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:275)
Caused by: java.lang.IllegalArgumentException
at qdu.c(Unknown Source:5)
at imm.b(Unknown Source:45)
at eru.onActivityCreated(Unknown Source:18)
at android.app.Fragment.performActivityCreated(Unknown Source:13)
at android.app.FragmentManagerImpl.moveToState(Unknown Source:631)
at android.app.FragmentManagerImpl.addAddedFragments(Unknown Source:46)
at android.app.FragmentManagerImpl.executeOpsTogether(Unknown Source:129)
at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(Unknown Source:99)
at android.app.FragmentManagerImpl.execPendingActions(Unknown Source:21)
at android.app.FragmentManagerImpl.dispatchMoveToState(Unknown Source:18)
at android.app.FragmentManagerImpl.dispatchActivityCreated(Unknown Source:4)
at android.app.FragmentController.dispatchActivityCreated(Unknown Source:4)
at android.app.Activity.performCreate(Unknown Source:68)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
... 11 more

Crash if trying to shoot a photo after switching from the main lens to the wide angle lense:

FATAL EXCEPTION: main
Process: org.codeaurora.snapcam, PID: 12629
java.lang.RuntimeException: java.lang.IllegalArgumentException: min (8) must be less than or equal to max (-28)
at geu.run(Unknown Source:4)
at bok.run(Unknown Source:61)
at android.os.Handler.handleCallback(Unknown Source:2)
at android.os.Handler.dispatchMessage(Unknown Source:4)
at android.os.Looper.loop(Unknown Source:242)
at android.app.ActivityThread.main(Unknown Source:98)
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:275)
Caused by: java.lang.IllegalArgumentException: min (8) must be less than or equal to max (-28)
at qdu.a(Unknown Source:26)
at rgk.a(Unknown Source:7)
at com.google.googlex.gcam.hdrplus.MetadataConverter.translateAeCrop(Unknown Source:72)
at com.google.googlex.gcam.hdrplus.MetadataConverter.updatePhysicalAeShotParams(Unknown Source:51)
at com.google.googlex.gcam.hdrplus.MetadataConverter.updateAeShotParams(Unknown Source:36)
at dqk.a(Unknown Source:241)
at dqk.a(Unknown Source:28)
at hoq.a(Unknown Source:274)
at gok.a(Unknown Source:215)
at goo.a(Unknown Source:20)
at goi.a(Unknown Source:39)
at gom.a(Unknown Source:7)
at gov.a(Unknown Source:73)
at gev.run(Unknown Source:42)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
at qqn.b(Unknown Source:2)
at qpo.run(Unknown Source:22)
at qqo.run(Unknown Source:4)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:919)
at maj.run(Unknown Source:5)