As suggested by @goapunk, the branch keeps the screen on while the QR code viewfinder is open to avoid needlessly resetting the key exchange state.
Should help with #1365, although as noted on the ticket there are other ways to trigger the bug.