Merge "Fix no announcment when the PIP menu shows on the screen" into tm-dev am: d10059c7df am: 9b2865893f

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/18911201

Change-Id: Ia437bf29268bbbde40fdd8302c5406b3e7ff9de2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Ryan Lin
2022-06-20 02:19:58 +00:00
committed by Automerger Merge Worker

View File

@@ -854,6 +854,8 @@ public final class AccessibilityWindowsPopulator extends WindowInfosListener {
windowInfo.title = "Splitscreen Divider";
} else if (window.mIsPIPMenu) {
windowInfo.title = "Picture-in-Picture menu";
// Set it to true to be consistent with the legacy implementation.
windowInfo.inPictureInPicture = true;
}
return windowInfo;
}