Offers a file through the system share sheet, for things like sending a
zipped savestate to a friend. Android for now (SYSPROP_SUPPORTS_SHARE_FILE):
content:// paths from a picked folder are shared as they are, and plain paths
through a FileProvider. Either way the receiving app can read just that file.
With no MIME type given, it's guessed from the extension.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Every rotation, fold or window resize destroyed the activity and with it
all of graphics, then built it all up again. Declare those config changes
handled, so they arrive as a surfaceChanged and go through the same resize
path as a desktop window resize.
That path needed three things it didn't have on Android:
- The GPU_DISPLAY_RESIZED message, left out for Android since 2020 when
DeviceRestore covered every size change.
- A fixed (hardware scaled) surface size is now recomputed on each in-place
surface change, since surfaceCreated no longer runs on a rotation.
- A 180 degree flip keeps the size but changes the surface transform, so
the display rotation is passed along and a change in it is a resize too.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
We never said either way, so the system treats it as resizeable only by
virtue of the target SDK (RESIZE_MODE_RESIZEABLE_VIA_SDK_VERSION). Samsung
DeX wants it spelled out before it offers free resizing and maximize, and
a user reports being stuck in a small fixed window there. Not verified on
DeX.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
We just updated from 10 to 11 which enabled scoped storage, but now
that 12 is final, we might as well target that. Some new APIs are
available that might be useful, like a crash dump
API and more refresh rate control.
This has a number of UX issues and bugs we need to work through, but at least
games are playable, things mostly work. Upgrades are handled smoothly by
keeping existing storage access until you uninstall. After a reinstall, you'll
need to re-select your old PSP directory manually in settings :(
wip
Some progress towards making the file browser work with DOCUMENT_TREE
More directory browsing progress
More Scoped Storage hackery. Can now browse to a folder and use PPSSPP's game browser to load ISOs from it.
Remove the defunct fdopendir approach. Buildfixes.