summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorChris Li <lihongyu@google.com>2022-01-09 19:35:16 +0800
committerChris Li <lihongyu@google.com>2022-01-09 19:35:16 +0800
commitc8a3d88def08d399995efa3be8cf5cfcd83cf487 (patch)
tree9071a01602cd298c64166dbfa851033a1523ef18 /core/java/android/inputmethodservice/InputMethodService.java
parentf5f9c51c888836442b0f5096a137fe2562a6df14 (diff)
Fix WallpaperWindowToken visible update with Shell transition
With Shell transition, when mVisibleRequested is changed, it will wait until the transition finish to update the isVisible(). As a result, if there is a visible change before the previous transition is finished, it will be skipped. For example, when we first open a fullscreen app and then immediately enter pip: 1. TRANSIT_OPEN will call to hide wallpaper and set mVisibleRequest to false, but not commit visible until transition animation is finished. 2. TRANSIT_PIP will call to show wallpaper, but if it is started before the OPEN transition is finsihed, it will not update the wallpaper mVisibleRequested, which will leave the wallpaper hidden. Fix: 210965575 Bug: 210965692 Test: atest WMShellFlickerTests:ExpandPipOnDoubleClickTest Change-Id: I2578aafd024a3c9a6ec96079d4dc6cb740c890d2
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions