Refresh display bounds when display layout updated
Previoulsy mDefaultDisplayBounds & mLastVisualDisplayBounds are incorrect after device reboot without re-register DisplayAreaOrganizer. Then the bounds does not set correctly for transition. When AnimationController#getAnimator() get incorrect display bounds, either surface bounds or rounded corner does not crop correctly. Test: manual enable OHM, reboot device and trigger (Bounds/Rounded corner should works when trigger) Test: atest WMShellUnitTests Bug: 212651010 Change-Id: Ib30edf6ecc2244f7fec7e233b0fb048d5ee40f3c
Loading
Please register or sign in to comment