summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorIris Yang <irisykyang@google.com>2022-03-15 08:33:51 +0000
committerIris Yang <irisykyang@google.com>2022-03-18 02:09:38 +0000
commit2c2516afc79d34a1b91c5c250faea69ef712f52e (patch)
tree8fbb22e65aced1e54a53a7796e4641e8f5afbefd /core/java/android/widget/TextView.java
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 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions