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
This commit is contained in:
Sebastian Franco
2021-11-25 10:31:31 -06:00
committed by Sebastián Franco
parent 6547721d8c
commit 411b71bf09
2 changed files with 5 additions and 0 deletions
@@ -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();