commit | 1c378820c9dac9e8dd7b140c058ee97db148279b | [log] [tgz] |
---|---|---|
author | Dmitry Muhomor <muhomor.dmitry@gmail.com> | Thu May 19 16:33:58 2022 +0300 |
committer | Daniel Micay <danielmicay@gmail.com> | Thu May 19 15:11:16 2022 -0400 |
tree | d87e9dcff7995c7e24e5517252a8fdd1aefd7417 | |
parent | 16c3ae9bf55cbb19985e0f4d1caac9385c6080d8 [diff] |
bugfix: camConfig shouldn't be a static field of the MainActivity When another instance of MainActivity (or its subclass) starts, it overwrites this field, which breaks all other instances of MainActivity (or its subclass). Make camConfig an instance field to resolve this issue. Note that passing camConfig to MoreSettings is a bit hacky, but a proper fix would be a lot more work for little upside.
This is the new GrapheneOS Camera app based on Android's modern CameraX library. It replaces AOSP Camera for GrapheneOS.