Fixing 'Item removed' announced twice when using accessible DnD

Change-Id: I2d8781155619d22a41c3f363be7909d411c62fa9
This commit is contained in:
Sunny Goyal
2015-09-25 12:06:13 -07:00
parent e78e3d734b
commit 7aaa841c35
2 changed files with 1 additions and 10 deletions

View File

@@ -303,14 +303,10 @@ public abstract class ButtonDropTarget extends TextView
setOnClickListener(enable ? this : null);
}
protected String getAccessibilityDropConfirmation() {
return null;
}
@Override
public void onClick(View v) {
LauncherAppState.getInstance().getAccessibilityDelegate()
.handleAccessibleDrop(this, null, getAccessibilityDropConfirmation());
.handleAccessibleDrop(this, null, null);
}
public int getTextColor() {