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

Commit 63690c34 authored by Olivier St-Onge's avatar Olivier St-Onge Committed by Android (Google) Code Review
Browse files

Merge "Remove a11y announcement when adding/removing tiles in edit mode" into main

parents 658a8346 3870df86
Loading
Loading
Loading
Loading
+2 −8
Original line number Diff line number Diff line
@@ -675,17 +675,11 @@ public class TileAdapter extends RecyclerView.Adapter<Holder> implements TileSta
        }

        private void add() {
            if (addFromPosition(getLayoutPosition())) {
                itemView.announceForAccessibility(
                        itemView.getContext().getText(R.string.accessibility_qs_edit_tile_added));
            }
            addFromPosition(getLayoutPosition());
        }

        private void remove() {
            if (removeFromPosition(getLayoutPosition())) {
                itemView.announceForAccessibility(
                        itemView.getContext().getText(R.string.accessibility_qs_edit_tile_removed));
            }
            removeFromPosition(getLayoutPosition());
        }

        boolean isCurrentTile() {