Merge "WM: Handle primary display orientation when calculating the transform hint" into sc-v2-dev