Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f273e89d authored by Winson Chung's avatar Winson Chung Committed by Android Git Automerger
Browse files

am ee69d74e: am 206c4deb: am 6615b209: Announcing when a task is dismissed...

am ee69d74e: am 206c4deb: am 6615b209: Announcing when a task is dismissed (for accessibility). (Bug 9181212)

* commit 'ee69d74efec964721b4c733ba71766f28df7f521':
  Announcing when a task is dismissed (for accessibility). (Bug 9181212)
parents acaf6864 2a909e07
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1006,6 +1006,9 @@ public class TaskStackView extends FrameLayout implements TaskStack.TaskStackCal
    @Override
    public void onTaskViewDismissed(TaskView tv) {
        Task task = tv.getTask();
        // Announce for accessibility
        tv.announceForAccessibility(getContext().getString(R.string.accessibility_recents_item_dismissed,
                tv.getTask().activityLabel));
        // Remove the task from the view
        mStack.removeTask(task);
    }