ROMs folder and Storage in the session's home, the app's own file picker, logs finished on a crash, a two-column menu

A program's file dialog inside the session never showed the phone: internal storage was bound
at its own path, but proot binds do not appear in /proc/mounts and nothing under home pointed at
it. Every session now binds internal storage at /root/Storage and the folder chosen with the new
ROMs folder tile at /root/ROMs - a bind, so a folder on an SD card works the same.

Folder and file choosing is the app's own picker (files/), Bannerlator's File Manager pick mode
carried over: StorageRoots verbatim for the drive menu, the same intent API (InAppFilePicker),
folders first, an up-arrow floored at the volume root, the last folder remembered. Both driver
imports use it instead of the system document picker.

A session folder is finished whichever way the session ends: SessionArtifacts is shared by the
ordinary stop, an uncaught-exception handler (App/CrashHandler, writes crash-app.txt and finishes
the folder before the process dies) and a sweep at the next app start for a folder without its
.complete marker (a kill or a native crash), which gets ended-without-teardown.txt and the crash
buffer. A Session logs tile turns the folder off: it then lives in the cache and is deleted at
the end.

The main menu is two columns of tiles, each with its setting's value under its title.
This commit is contained in:
The412Banner committed 2026-09-21 22:43:56 -04:00
1 parent 3aa0162055
commit cb5a1b5a31
15 files changed
+1066 -91

No files matched your search

+6
View File
@@ -26,6 +26,7 @@
<uses-feature android:name="android.hardware.gamepad" android:required="false" />
<application
android:name=".App"
android:allowBackup="false"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
@@ -54,6 +55,11 @@
fixed-shape window instead and STRETCHES it onto the other panel — the app never sees a
size change, so nothing it does can help.
-->
<activity
android:name=".files.FilePickerActivity"
android:exported="false"
android:theme="@style/AppTheme" />
<activity
android:name=".SessionActivity"
android:exported="false"