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

This commit is contained in:
Ryan Lin
2022-06-20 01:27:15 +00:00
committed by Android (Google) Code Review

View File

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