Merge "Add compat call for getting the rotation from the window config"