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

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

Change-Id: Idbd4ec0a47bbda387e643edeedcba13c0482b109
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:20:32 +00:00
committed by Automerger Merge Worker

View File

@@ -853,6 +853,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;
}