commit | 7c288db5359427973d8751d69e9014649bda29ec | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Wed Sep 14 16:02:44 2022 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Wed Sep 14 16:06:58 2022 -0700 |
tree | d45e158bce9706d306c5f4b01dfdfc9b3512fb39 | |
parent | 390a963bd242cd620c20b4a0b342712113b4d94b [diff] |
Do not auto-pip on launching translucent activity Note we only prevent Activity from auto-pip in this case. Launching a translucent Activity still sets ActivityTaskSupervisor#mUserLeaving to be true and a non-auto-pip Activity will request to enter PiP when they receive the onUserLeaveHint callback. Bug: 245735998 Test: `adb shell am start -n <translucent-activity>` over YT Test: atest PinnedStackTests Change-Id: Iee4dc55592d3e9851174d18759917dd14f5c0071