summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Iris Yang <irisykyang@google.com> 2022-03-15 08:33:51 +0000
committer Iris Yang <irisykyang@google.com> 2022-03-18 02:09:38 +0000
commit2c2516afc79d34a1b91c5c250faea69ef712f52e (patch)
tree8fbb22e65aced1e54a53a7796e4641e8f5afbefd /libs/androidfw/StringPool.cpp
parent7c8cc6bf19f6733c2f880707972dfdcde758bcd8 (diff)
Check whether a display supported pip when an activity try to enter pip
ActivityRecord#supportsPictureInPicture() will also be called when an activity sets PictureInPictureParams, this cause an issue if an activity is trying to set pip params but it doesn't enter pip. We should only block an activity enter pip on specified display instead of telling caller that the Activity doesn't support pip. Bug: 224699616 Test: manually, atest WmTests:ActivityRecordTests Change-Id: Id8eb421ebab57e6c022650f3e820175531a2e8fc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions