Error fragment after scanning QR code for adding contacts does not auto-rotate to landscape mode
After trying to add a contact nearby and scanning a random QR code, an error fragment is displayed. Since we're disabling auto-rotation in the scanning fragment and set that on the activity, the following fragment has the same restriction. We call there:
requireActivity().setRequestedOrientation(SCREEN_ORIENTATION_NOSENSOR);
and probably could just call this in the error fragment:
requireActivity().setRequestedOrientation(SCREEN_ORIENTATION_UNSPECIFIED);