Remove disruptive home screen announcement when scrolling

Test: Manual
Flag: EXEMPT bug fix
Fix: 383247157
Change-Id: I8470740af2720b328a358a21507270a4735a53a4
This commit is contained in:
Sihua Ma committed 2024-12-20 19:07:56 +00:00
1 parent 636aba5acb
commit 4ccf8e2957
1 file changed
+2 -3
+2 -3
View File
@@ -3519,9 +3519,8 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
@Override
protected boolean canAnnouncePageDescription() {
// Disable announcements while overscrolling potentially to overlay screen because if we end
// up on the overlay screen, it will take care of announcing itself.
return Float.compare(mOverlayProgress, 0f) == 0;
// b/383247157: Disable disruptive home screen page announcement
return false;
}
@Override