Reported by @quasi pewter
Steps to Reproduce:
Install the App: Deploy the application that includes the native library (libpairipcore.so) via the dynamic split APK (split_config.arm64_v8a.apk) on a device running Android 15.
Launch the App: Open the application on a device with a build fingerprint similar to "google/husky/husky:15/BP1A.250405.007.B1/…" and targetSdk 35.
Observe SELinux Access: Notice in the logcat that multiple SELinux permission denials occur, such as failed reads for properties like "u:object_r:user
The application crashes immediately upon startup with a segmentation fault. The logs indicate that the crash occurs in libpairipcore.so, likely triggered by the inability to access restricted system properties/files due to SELinux policy denials.
The application should gracefully handle permission issues. Instead of crashing, the native layer should check and handle failed property/file reads and either fall back on safe defaults or propagate an error that prevents a crash.
OS: Android 15 Build Fingerprint: google/husky/husky:15/BP1A.250405.007.B1/… Architecture: ARM64 Target SDK: 35