commit | d6f2c5882f57e7ac31b62f1c100f07f6671393bf | [log] [tgz] |
---|---|---|
author | Vishnu Nair <vishnun@google.com> | Fri Sep 17 19:51:34 2021 -0700 |
committer | Vishnu Nair <vishnun@google.com> | Wed Sep 22 17:06:10 2021 +0000 |
tree | 7260c6d1ed36e834b835f8edaec2c019f596ffab | |
parent | bc617435cf49b6afc85a7efe71ba27791326eae1 [diff] |
WM: Handle primary display orientation when calculating the transform hint Query the surface flinger property ro.surface_flinger.primary_display_orientation to determine the primary display's install orientation. If the window is on the primary display, then update the transform hint passed on to the client. Bug: 196167822 Test: check initial buffer transforms on displays with a different install orientation Change-Id: Idf010cd6be73172ba708820f87046c3ba3cf8001