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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15838995

Change-Id: Ib2b88cd86df3c2b9f1e7ecb8e9d085aa5a7fb79b