From 411b71bf09cfa1d1b3d36fc0f744221c62d6573b Mon Sep 17 00:00:00 2001 From: Sebastian Franco Date: Thu, 25 Nov 2021 10:31:31 -0600 Subject: [PATCH] TalkBack doesn't announce when a task has being closed. Adding announceForAccessibility() in createTaskDismissAnimation() to announce the task has being closed. Test: Manually tested Fix: 186744160 Change-Id: I71f57e7ba03a61b2ced7e338da4251637e89bd16 --- quickstep/res/values/strings.xml | 3 +++ quickstep/src/com/android/quickstep/views/RecentsView.java | 2 ++ 2 files changed, 5 insertions(+) diff --git a/quickstep/res/values/strings.xml b/quickstep/res/values/strings.xml index 151b8e4604..e10273c377 100644 --- a/quickstep/res/values/strings.xml +++ b/quickstep/res/values/strings.xml @@ -39,6 +39,9 @@ Recent apps + + Task Closed + %1$s, %2$s diff --git a/quickstep/src/com/android/quickstep/views/RecentsView.java b/quickstep/src/com/android/quickstep/views/RecentsView.java index c0658519dc..1c948ab82d 100644 --- a/quickstep/src/com/android/quickstep/views/RecentsView.java +++ b/quickstep/src/com/android/quickstep/views/RecentsView.java @@ -2740,6 +2740,8 @@ public abstract class RecentsView