diff options
| author | 2021-03-11 17:31:04 +0800 | |
|---|---|---|
| committer | 2021-03-12 18:06:48 +0800 | |
| commit | 1041042873485e03335db77bfda051b3e6d094f4 (patch) | |
| tree | f2e673d3b9550a18c1525f362cab45f15f2357a8 /cmds/bootanimation/BootAnimationUtil.cpp | |
| parent | af8edd8ec5eeec79ae1ede3cfc99b5c72a0d1d58 (diff) | |
Fix OHM DA Organizer do not update display bounds by orientation
Legacy code depend on getDisplayBounds() which obtain bounds from
current WindowMetrics, unfortunately, WindowMetrics's info is not
up-to-date due to DisplayChangeController.onRotateDisplay() callback
earlier than WindowMetrics get update.
When onRotateDisplay() callback, we rotate old display bounds by
the rotation policy manually.
Test: atest WMShellUnitTests
Bug: 182342712
Change-Id: I9ff91dd7e51417ee33d57327ca07203de52dbe33
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions