Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev

This commit is contained in:
TreeHugger Robot 2022-01-13 20:36:44 +00:00 committed by Android (Google) Code Review
commit c0a6d3fc8f
2 changed files with 5 additions and 0 deletions

View File

@ -39,6 +39,9 @@
<!-- Accessibility title for the list of recent apps [CHAR_LIMIT=none] -->
<string name="accessibility_recent_apps">Recent apps</string>
<!-- Accessibility confirmation for task closed -->
<string name="task_view_closed">Task Closed</string>
<!-- Accessibility title for an app card in Recents for apps that have time limit set
[CHAR_LIMIT=none] -->
<string name="task_contents_description_with_remaining_time"><xliff:g id="task_description" example="GMail">%1$s</xliff:g>, <xliff:g id="remaining_time" example="7 minutes left today">%2$s</xliff:g></string>

View File

@ -2783,6 +2783,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();