diff options
| author | 2021-11-11 00:56:48 +0000 | |
|---|---|---|
| committer | 2021-11-11 03:14:21 +0000 | |
| commit | cbb12e2e76643cbfc293b961d94e69e5a232fcd3 (patch) | |
| tree | 44cc08c3b0f75200e48b196c3395c0e0f6c69ed2 /api/api.go | |
| parent | 1cfd0c754664631ed2371e7d98d4b98b19d7363e (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
Merged-In: Idf010cd6be73172ba708820f87046c3ba3cf8001
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions