commit | a914484298bedfda9d8b480c672dd3f35a4d2173 | [log] [tgz] |
---|---|---|
author | Ikram Gabiyev <gabiyev@google.com> | Tue Aug 13 16:32:01 2024 -0700 |
committer | Ikram Gabiyev <gabiyev@google.com> | Tue Aug 13 16:32:01 2024 -0700 |
tree | 916464518471323519ea0aca1faf872034ebc772 | |
parent | 79a8e2befa1f7c4131644aa58a08dbcdd94593c8 [diff] |
Enable supportsEnterPipOnTaskSwitch early on We need to enable supportsEnterPipOnTaskSwitch before we check for the PiP state to be valid in PiP2. This should fix the CTS test case where we launch the TestActivity over a pip-able PipActivity with auto-enter flag on. Bug: 359675378 Flag: com.android.wm.shell.enable_pip2_implementation Test: atest PinnedStackTests#testAutoPipOnLaunchingRegularActivity Change-Id: I75e68e0bbbbb7a1bfd965684fb666f21f8d27d8d