summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Hongwei Wang <hwwang@google.com> 2025-02-21 14:46:48 -0800
committer Hongwei Wang <hwwang@google.com> 2025-02-25 13:38:44 -0800
commit2f425ca98a68826d2073ea4acd58deee0af87094 (patch)
tree759caeba286abd4e0513d16049aa19f3f679582b /libs/androidfw/StringPool.cpp
parent6f022908b67ec847313aa7a42594b2998f945e14 (diff)
Reset supportsEnterPipOnTaskSwitch when paused
The ActivityRecord#supportsEnterPipOnTaskSwitch flag is to indicate the Activity can enter PiP while pausing. This flag is set to true in Transitions#checkEnterPipOnFinish and wouldn't be reset back in certain scenarios. This can lead to issues like accidentally enter PiP when do quick switch. In this change, we make sure the flag is always set to false whenever the activity is paused. We attempted to do so in makeInvisible if the internal state is STOPPING/STOPPED, which can be skipped if the mVisibleRequested flag is set to false first. Flag: EXEMPT bugfix Bug: 390872198 Video: http://recall/-/aaaaaabFQoRHlzixHdtY/gvYPNiIVWycrSYPQNZ0J9z Test: manually make sure legacy enter PiP works Test: follow the reproduce steps in bug, see also the video Change-Id: I04ef9435e70f4d1ca41c7c5d7859d3c9462aa2aa
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions