Merge "WM: Handle primary display orientation when calculating the transform hint" am: 5fb9f63795

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

Change-Id: I3d1ef99b82cb142f27015bd68a976e2d942a4fda