mirror of
https://github.com/kvorschk/Magisk.git
synced 2026-12-05 11:30:47 -05:00
Modules are third-party, but some of their metadata could crash the app: - A malformed updateJson URL (e.g. ftp://) made Retrofit throw IllegalArgumentException, which LocalModule.fetch() didn't catch, so the app exited every time the module list loaded, even offline. A malformed changelog URL did the same when opening the update dialog. - Two module directories with the same id in module.prop crashed the module list, which used the id as the item key. Catch every non-cancellation exception when fetching update info and changelogs, and identify modules by their directory name, which is unique. Assisted-by: Claude Opus 5.5