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.
15 files changed
tree: d87e9dcff7995c7e24e5517252a8fdd1aefd7417
  1. .github/
  2. .idea/
  3. app/
  4. gradle/
  5. .gitignore
  6. build.gradle.kts
  7. gradle.properties
  8. gradlew
  9. gradlew.bat
  10. LICENSE
  11. README.md
  12. settings.gradle.kts
README.md

This is the new GrapheneOS Camera app based on Android's modern CameraX library. It replaces AOSP Camera for GrapheneOS.