diff options
author | Sebastian Franco <fransebas@google.com> | 2021-11-25 10:31:31 -0600 |
---|---|---|
committer | Sebastián Franco <fransebas@google.com> | 2021-12-09 20:27:51 +0000 |
commit | 411b71bf09cfa1d1b3d36fc0f744221c62d6573b (patch) | |
tree | 27abd73f4206d0e4d7f89e7894c43d29739b43ed /quickstep/src | |
parent | 6547721d8ce99a19ffd964ad10e9b6860e0d72fc (diff) |
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
Diffstat (limited to 'quickstep/src')
-rw-r--r-- | quickstep/src/com/android/quickstep/views/RecentsView.java | 2 |
1 files changed, 2 insertions, 0 deletions
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<ACTIVITY_TYPE extends StatefulActivity<STATE_T } } + announceForAccessibility(getResources().getString(R.string.task_view_closed)); + float dismissTranslationInterpolationEnd = 1; boolean closeGapBetweenClearAll = false; boolean isClearAllHidden = isClearAllHidden(); |