Skip to content

fix crash on rotate when scanning a QR code in the swap process

username-removed-24982 requested to merge eighthave/fdroidclient:master into master

I was getting frequent crash-on-rotate NullPointerExceptions after scanning QR Codes. This fixes it for me.

This also serves as a sketch for eliminating unnecessary Fragments, which reduces the amount of code and fixes hard to debug lifecycle issues:

https://f-droid.org/forums/topic/refactoring-swap-to-eliminate-fragments/

Merge request reports