Skip to content

Avoid crashing when the download picker is recreated - #540

Merged
xz-dev merged 2 commits into
masterfrom
maintenance/legacy-download-dialog
Nov 23, 2026
Merged

xz-dev merged 2 commits into
masterfrom
maintenance/legacy-download-dialog

Conversation

@xz-dev

@xz-dev xz-dev commented Nov 23, 2026

Copy link
Copy Markdown
Member

On Android 17, changing the window size with a download picker open crashed AppDetailActivity when FragmentManager tried to recreate a fragment with no default constructor. The restored picker now closes without using an old asset selection; the details screen stays usable and can open the picker again.

Reproduced with the public 0.20.0 APK. On the patch debug APK, the same API 37 resize kept AppDetailActivity visible, reopened the picker, and downloaded the real 0.20.0 APK byte-for-byte. Debug build and unit tests passed. Prepare 0.20.1 to distribute this runtime fix without replacing the original release.

@xz-dev
xz-dev merged commit 5589f2b into master Nov 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant