Commit Graph

3 Commits

Author SHA1 Message Date
7bffc7ffda Fix activity-recreation crash: give Permissions a no-arg constructor
On any activity recreation with saved state (config changes such as
night mode), the FragmentManager restores the Permissions fragment
reflectively and requires a no-arg constructor; it only had
Permissions(View), so the activity failed to start with
Fragment$InstantiationException.

Also regenerate cmd/pad/Permissions.jar from the .java source in both
build scripts: gogio does not compile the app's own .java files - it
silently merges any *.jar in the Go package dirs into the dex, so the
stale Aug-16 jar shadowed source edits (which is how this bug went
unnoticed).

This crash is separate from the black-screen hang after relaunch,
which is fixed in the gioui fork (app/os_android.go: skip the window
handshake ack on re-attach).
2026-10-12 16:43:10 -04:00
1324772215 Refactor RealFileSystem to use WorkingDir, and ensure clean shutdown with FlushAll 2026-06-05 11:42:39 -04:00
ac2e0e444d Request Android permissions. 2026-06-05 10:57:53 -04:00