Merge "TalkBack doesn't announce when a task has being closed." into sc-v2-dev
This commit is contained in:
commit
c0a6d3fc8f
|
@ -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>
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue