Files
Magisk/app
topjohnwu 9ee6815a54 app: keep patch method across process death
The patch dialog restores its state after process death, including a
pending file pick, but the selected install method only lived in
InstallViewModel. If the app was killed while the file picker was open,
the new ViewModel had no method, so picking the image closed the dialog
and silently did nothing.

On Pixel and Googlebook devices, the dialog also keyed its source
choice on the downloadable firmware image. That is only found after
the firmware search, which runs again after process death, so a file
chosen before was reset to the downloadable image.

Set the patch method when an image is selected, and save the user's
source choice without keying it on the firmware image.

Assisted-by: Claude Opus 5.5
2026-10-24 13:01:45 -07:00
..
2026-10-24 13:01:45 -07:00
2025-06-16 02:17:29 -07:00
2025-06-16 02:17:29 -07:00