NeoStation Beta 0.8.4+99
fix(launcher): restore RetroArch ROM access for Downloads/SD-card sources
Three regressions introduced by the May 14 launcher refactor:
-
cacheContentUriToFile wrote to Android/data//cache/ blocked
by Android 10+ scoped storage for other apps. Cache now goes to
the public /storage/emulated/0/NeoStation/rom_import/ directory
which RetroArch (and any app with storage permissions) can read. -
_launchGameAndroid fallback (hit when JSON config throws
ACTIVITY_NOT_FOUND, e.g. user has com.retroarch not .aarch64)
sent game.romPath raw without the neostation-realpath: marker.
The May 14 refactor removed the Kotlin-side per-package content://
resolver, so RetroArch was receiving a raw content:// URI it
cannot open. Marker now added when romPath is content://. -
getDefaultLibretroDirectory hardcoded /data/user/0/ wrong for
clone/secondary-user profiles (OxygenOS Clone Phone). Now resolved
dynamically via PackageManager.getApplicationInfo().dataDir with
/data/user/0/ as fallback.