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
Loading
Please register or sign in to comment