commit | ee4d9ed3ad0df0ebcf0ad8befff6829e19dc2c81 | [log] [tgz] |
---|---|---|
author | Ikram Gabiyev <gabiyev@google.com> | Wed Dec 04 15:02:06 2024 -0800 |
committer | Ikram Gabiyev <gabiyev@google.com> | Wed Dec 04 15:36:26 2024 -0800 |
tree | c15c6969098e84a1c463484346e1c8a21e43ffec | |
parent | bbefa5daf70515ce5f5b230501dba97a890432c1 [diff] |
Do not send setFinishTaskTransaction if not swipe In PiP2, there is no need to send setFinishTaskTransaction() unless we are swiping PiP to home. This is because either ATMS#enterPictureInPictureMode() is supposed to request a TRANSIT_PIP as the activity goes to pause. Bug: 380515865 Flag: com.android.wm.shell.enable_pip2 Test: repro the steps in the bug Change-Id: Ic24c0c0f471179198a5fe3221971cf5b6d634797