commit | b576702e30f7e5eb25467119fba6c5bd0ebd0837 | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Wed Dec 14 12:35:18 2022 -0800 |
committer | Hongwei Wang <hwwang@google.com> | Wed Dec 21 15:32:41 2022 -0800 |
tree | 29881c3f7f07c2e54ca073d69746a9c3754bd677 | |
parent | 6680d5cdaa479316d0df21fbd71b4ea38abef49c [diff] |
Do not reset surface when entering PiP When UnfoldAnimationController is present and entering PiP from a Task with multiple activities, the resetTask within UnfoldAnimationController could conflict with the PiP animation and cause flicker. Fixed this by ignoring restTask in UnfoldAnimationController if there is no state change going on. Bug: 261996076 Test: Enter PiP from Task with multi-Activity on foldables Change-Id: I7f13e86d030d427383e65a37efde13ec94dea2a8