commit | b75bb48b125d531a248eba0d3afc4aaba5fc6be4 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Feb 06 17:19:37 2024 +0800 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Wed Apr 10 21:56:32 2024 +0000 |
tree | aa0fe46efb6d2f65d5946b63a3c7b36f6fcf5da1 | |
parent | 17dd11248a66b2722aa3ef07701b7f09a64160e5 [diff] |
Hide window immediately if itself doesn't run hide animation The condition was overextended in commit 9bca6b4 which checks if the parent container of the window is animating. That causes the window to wait for animation finish to update visibility, but the animation finish callback won't happen because itself is not animating. Then the window that should be hidden remains on screen. Bug: 302431573 Test: atest WindowStateTests#testIsOnScreen_hiddenByPolicy (cherry picked from commit 9add9281ffc120c81a7d125892803f1beb5ddcb3) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:10a7f0914c87f4af521b5cbb13e84a83dacebf82) Merged-In: Iafc2b2c2a24d8fc8d147354ef2f0b4afeeb510c5 Change-Id: Iafc2b2c2a24d8fc8d147354ef2f0b4afeeb510c5