commit | 63ece2d2e5ef85fe481f4c548cbd4526fdf35496 | [log] [tgz] |
---|---|---|
author | Chris Li <lihongyu@google.com> | Tue Apr 12 20:42:09 2022 +0800 |
committer | Chris Li <lihongyu@google.com> | Wed Apr 13 21:31:30 2022 +0800 |
tree | 3836f13bc3bbd219f52cbebc1fe58a946e91c267 | |
parent | ff5064e71353fd31e064c1eac4276caebb8ae116 [diff] |
Notify organizer when the last activity in TaskFragment enter PiP When the Task contains multiple activities, activity entering PiP will be reparented to a new PiP Task. In this case, we should notify the organizer about the behavior, and prevent the dependents from closing as a result of an empty TaskFragment. Bug: 225371112 Test: atest WmTests:TaskFragmentTest Change-Id: I6f0138c0532d2d0249de38fd84d1a4690f266c07