Camera error and connection aborted when screen turns off while adding contact
Steps to reproduce:
- Ensure that device A's screen timeout is set to the default (30 seconds)
- Connect devices A and B to the same LAN
- Navigate to the QR code screen on both devices
- Wait 10 seconds without touching the screen on device A
- Use device A to scan device B's QR code
- Device A should connect and show "Waiting for contact to scan and connect"
- Device A's screen should turn off before the connection times out
- Turn device A's screen back on
- Device A is still showing "Waiting for contact to scan and connect" although the original timeout has passed
- Device A exits the QR code screen with a "Camera error" toast
- Device A shows a "Connection aborted" toast