Repository navigation
What's new
Now targets Android 16 (API 36)
Required by Google Play from 31 August 2026. compileSdk and targetSdkVersion are now 36, built with Android Gradle Plugin 8.10.1.
Fixed: back button closed the app from settings
Targeting API 36 enables predictive back by default, which broke settings navigation: one press of back inside a settings sub-screen closed the whole app instead of going up one level, and settingsClosing() was skipped so the camera never resumed cleanly.
The preference fragments live on the framework FragmentManager back stack, which only Activity.onBackPressed() pops. With predictive back the system dispatches to the AndroidX OnBackPressedDispatcher instead, where none of the registered callbacks is enabled while settings are open. Fixed with the documented android:enableOnBackInvokedCallback="false" opt-out. This is temporary; the structural fix is migrating the preference fragments to AndroidX.
Fixed: preview settings not applied immediately (#9)
Display-only settings now call DrawPreview.updateSettings() directly.
Tested
Verified on a Samsung SM-S908B running Android 16 (SDK 36) with the minified release build: back navigation at every level, photo capture, video recording, paused preview, edge-to-edge rendering, and a simulated 617dp large screen.
Not covered: the Bluetooth LE remote (needs the physical remote) and Nextcloud/WebDAV upload (needs a reachable share).