forked from akai/readest
71371130e0
`rsproperties::get` panics when it can't open or parse the `/dev/__properties__` layout (documented behavior of the crate). On some older/unusual Android builds (e.g. MediaTek Android 8.1 on Xiaomi Mipad), this aborts the app with SIGABRT before the main window is created. Replace the crate with a direct FFI call to Android's native `__system_property_get`, which has existed since the earliest Android versions and returns an error code instead of panicking. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>