mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 17:06:49 +00:00
Remove redundant a11y announcement upon removal of workspace item.
When a workspace item is removed, launcher currently shows a Snackbar which contains a message saying "item removed". This renders the a11y announcement in DeleteDropTarget#onAccessibilityDrop redundant since it's saying exactly the same string. Bug: 378032433 Change-Id: Iaf3b42404ecd382b1ee15f670cc4ebe0124218d2 Test: manual Flag: EXEMPT bugfix
This commit is contained in:
@@ -130,7 +130,6 @@ public class DeleteDropTarget extends ButtonDropTarget {
|
||||
public void completeDrop(DragObject d) {
|
||||
ItemInfo item = d.dragInfo;
|
||||
if (canRemove(item)) {
|
||||
onAccessibilityDrop(null, item);
|
||||
mDropTargetHandler.onDeleteComplete(item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user