commit | 0e6c31448829cadffecc66aaebc2210d134d240b | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Fri Jan 12 12:47:55 2024 -0800 |
committer | Hongwei Wang <hwwang@google.com> | Fri Jan 12 12:58:28 2024 -0800 |
tree | 6698fa93136bf9b506bd62e0a5de17d6ebda00e4 | |
parent | 00599c9c36711690b1688b88585c53030b3fbfcc [diff] |
Work around the flicker on enter PiP for foldables This is work around for b/311084698 We use to rely on the mIsInStateChange flag to avoid resetting the surface of PiP task, it's broken recently. The windowing mode check here is not ideal but it should be safe to ignore any resetting from UnfoldAnimationController for a Task that's already pinned. Before: http://recall/-/aaaaaabFQoRHlzixHdtY/ahJ6dpKl1ajsaReCX70Wb After: http://recall/-/aaaaaabFQoRHlzixHdtY/cc0H4jAt0KxqzFxzkfVjk7 Flag: NONE Bug: 311084698 Test: Manually following the reproduce steps in bug Change-Id: I5f60b2da8eaf948145ca61fb21433f5640f1feeb