diff options
| author | 2022-05-18 17:44:16 +0800 | |
|---|---|---|
| committer | 2022-05-20 01:45:13 +0800 | |
| commit | aede04193fec7a498e73814dd41bb455a1cf0715 (patch) | |
| tree | ef9d13f267d21c4898b3854500e8ec836a159c94 /libs/androidfw/Util.cpp | |
| parent | 47c160d5374d66ee829329478681987ef0f6ed42 (diff) | |
Fix punch hole wrong position during rotation
1. Updating front camera protection info as super class of
DisplayCutoutBaseView during rotation changed.
2. Fix incorrect comparing inside onPreDraw()
3. Use getDisplayInfo() to get real-time updated rotation info.
Bug: 233011725
Test: atest ScreenDecorationsTest
Test: Enable front camera, and check punch hole during rotating device
Change-Id: I2b8ef62ec2e815c649b35bbad1cb4c4fc8f7eeb7
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions