summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author wilsonshih <wilsonshih@google.com> 2023-12-26 05:44:14 +0000
committer wilsonshih <wilsonshih@google.com> 2024-02-20 10:55:23 +0000
commitfb5f9153d89df28e89e48b2d92f09eee249ea5b3 (patch)
treebbf684863ded9e2e311914b7b8eba6a5670f587a /libs/hwui/FrameInfoVisualizer.cpp
parent4f7007cfcf87b54d853ea8a446d8400ce02d5cb5 (diff)
Do not capture letterbox for activity snapshot.
Similar to activity window, there should draw splash screen/snapshot starting window based on activity's bounds, so when capture activity snapshot, the bounds should limit to activity's bounds instead of task bounds. While creating the windowless starting window, offset the surface position based on activity's configuration. Also request to draw letterbox when using windowless snapshot. Bug: 317736686 Test: enable activity snapshot & predictive back, verify when playing cross activity animation, the windowless surface should be place at the same position of activity. Change-Id: Ic3d717ef9901c30b3af7258f352d1ed21ca5bb3e
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions