Back works again in generated apps
On Android 15 and newer, Back was leaving a generated app instead of going back a
page.
onBackPressed is deprecated because back moved to OnBackInvokedDispatcher for
predictive back, and that is on by default for apps targeting API 35 and up —
which the shell does. So the system routed Back through a dispatcher that had
nothing registered with it, and the override was never called at all.
Nothing failed loudly, which is how it survived: the code was still correct, just
no longer reachable.
Back now walks the page's history again, on every supported version.
Camera cutout, per site
Full screen stops the page below the display cutout and fills that strip with the
site's theme colour — hiding the system bars does not move the camera, and unlike
a status bar there is no swipe that reveals what the lens covers.
New per-site switch Draw under the camera cutout hands that strip back to the
page. Worth it for a site whose top edge is empty, and not otherwise.
The window now also asks for the whole display in every orientation, rather than
letting the platform letterbox the cutout edge with a black bar in some
orientations and not others.
Important
Regenerate your apps. All of this lives in the template APK, not in the
config your generated apps already carry — the Back fix included. Regenerating
installs as an in-place upgrade and keeps cookies, logins and firewall rules.
Verifying this build
sha256 2713074953dad2c12f9d0ed46c927a78858460e0154cfdb3c9689783c28c05d9
Same signing key as every release so far, so this updates in place:
813d6225f1c3bedeafd47e33775e7c0f5390cdedf259bd883c0e26b6d04b9dee