summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/CacheManager.cpp
diff options
context:
space:
mode:
authorAdrian Roos <roosa@google.com>2018-11-30 15:26:27 +0100
committerAdrian Roos <roosa@google.com>2019-01-07 15:00:53 +0100
commit7af9d97b1ccef21d0212f0e66957616a8ed31fb2 (patch)
tree217656df4348749aae49cca994f44e5e94094440 /libs/hwui/renderthread/CacheManager.cpp
parentbb28a036c3cd0ef6433efb16ed99ae703bcfe4a7 (diff)
WM: Fix Letterbox placement
The letterbox is still being placed as if there were no surface hierarchy. It is now attached to the AppWindowToken, and when that is not positioned at (0,0), the Letterbox is placed at the wrong place. Instead, we now keep track of where the Letterbox is attached to the hierarchy and offset it accordingly. Test: Put the phone in seascape, open a max aspect ratio activity, go home. Verify the wallpaper does not flicker though the letterbox. Bug: 120129697 Change-Id: I16068c62c11c8a1f4814405c0340600397db3fd4
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions