[android] Fix crash caused by unreferenced driver #58

Merged
AleksandrPopovich merged 2 commits from fix/android-driver into master 2025-07-14 02:18:33 +02:00

Previously, if the user selected a per-game driver and that driver was
deleted from the global menu, it would cause a crash, it was because of
a mismatch between FileNotFoundException and NoSuchFileException. To
avoid the inconsistency I just made the check for if a file exists or
not to be separate.

Signed-off-by: Aleksandr Popovich popovich@eden-emu.dev

Previously, if the user selected a per-game driver and that driver was deleted from the global menu, it would cause a crash, it was because of a mismatch between FileNotFoundException and NoSuchFileException. To avoid the inconsistency I just made the check for if a file exists or not to be separate. Signed-off-by: Aleksandr Popovich <popovich@eden-emu.dev>
AleksandrPopovich added 1 commit 2025-07-14 02:16:01 +02:00
[android] Fix crash caused by unreferenced driver
Some checks failed
eden-license / license-header (pull_request) Failing after 16s
c88ed1ff2c
Previously, if the user selected a per-game driver and that driver was
deleted from the global menu, it would cause a crash, it was because of
a mismatch between FileNotFoundException and NoSuchFileException. To
avoid the inconsistency I just made the check for if a file exists or
not to be separate.

Signed-off-by: Aleksandr Popovich <popovich@eden-emu.dev>
AleksandrPopovich added 1 commit 2025-07-14 02:18:10 +02:00
Fix license headers
All checks were successful
eden-license / license-header (pull_request) Successful in 17s
844439c8b8
AleksandrPopovich merged commit 2be7df287a into master 2025-07-14 02:18:33 +02:00
AleksandrPopovich deleted branch fix/android-driver 2025-07-14 02:18:34 +02:00
Sign in to join this conversation.
No description provided.