mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-09 15:48:06 +00:00
android: Don't crash the app when selecting a zip that causes a SecurityException
This commit is contained in:
parent
122ff50c1a
commit
0153f39bc1
|
|
@ -103,7 +103,11 @@ object GpuDriverHelper {
|
|||
)
|
||||
|
||||
// Unzip the driver.
|
||||
unzip(driverInstallationPath + DRIVER_INTERNAL_FILENAME, driverInstallationPath!!)
|
||||
try {
|
||||
unzip(driverInstallationPath + DRIVER_INTERNAL_FILENAME, driverInstallationPath!!)
|
||||
} catch (e: SecurityException) {
|
||||
return
|
||||
}
|
||||
|
||||
// Initialize the driver parameters.
|
||||
initializeDriverParameters(context)
|
||||
|
|
|
|||
Loading…
Reference in a new issue