summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Yunfan Chen <yunfanc@google.com> 2024-01-24 15:28:54 +0900
committer Yunfan Chen <yunfanc@google.com> 2024-01-24 15:32:40 +0900
commite62275b10fe9c55fad2e1fd14baac71ed510c68f (patch)
tree59e795520ab83889e37ede5c5e344d2cdf8b3785 /libs/hwui/FrameInfoVisualizer.cpp
parentd92ce0118c408a1452ff5297dcc764abf0e3971b (diff)
Rotate Display Cutout for Status Bar with Cutout Util
The status bar is calculating its height by itself without frameworks adjustment. It needs to be the correct height to make sure it has the correct interaction with the apps. It was rotating the display cutout by itself, it is not always correct if the cutout is with an override. Replace it with DisplayCutout.getRotated to make sure it has the correct value for different rotations. Bug: 320638712 Test: See the bug's reproduce steps. Change-Id: I2cc00e306bdf763dbea3717a92146297e62ca964
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions