diff options
| author | 2023-02-21 20:29:02 +0800 | |
|---|---|---|
| committer | 2023-02-21 21:33:41 +0800 | |
| commit | 1273dc512a2d8c06d6907f0ad630783c579d3b40 (patch) | |
| tree | 38892c8d448925620012b3427ed84871678ff6d3 /libs/androidfw/StringPool.cpp | |
| parent | 7137d9165d25c7ddec6fe92e9d83a83ceceeafb0 (diff) | |
Prevent timeout of async rotation by invisible windows
This avoids a delay to re-show the bars when an async window
is removed during rotation (e.g. volume panel) since shell
transition disables the usages of setOrientationChanging.
This is also a step to be able to completely remove
get/setOrientationChanging in the future.
Also simplify prepareSurfaceLocked:
- showRobustly always returns true, so the corresponding
"else" can be removed.
- isParentWindowHidden is already checked in isOnScreen.
Bug: 270123439
Test: TransitionTests#testDisplayRotationChange
Change-Id: I53bae0d937d63e4b600aed3a005a3f8c7d5b68b5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions