Files
DroidDeck/app/src/test
maxjivi05 5a8a813292 Keep SD card downloads cancellable and let uninstall stop them
exFAT cannot store sparse files, so a write far past the end of a file
makes the kernel zero-fill the whole gap in one uninterruptible call.
Steam, Epic and EA installs write chunks out of order, so a single write
on an SD card could block for minutes, holding up cancel, uninstall and
the storage service.

Probe each install folder for hole support once. On storage without it,
grow files in bounded zero-filled steps that check the cancel flag, and
queue Steam chunks in file offset order. Uninstall now cancels a running
download or update of the game and waits for it to stop instead of
refusing.
2026-11-26 21:58:44 -05:00
..