Merge "Fixing 'Item removed' announced twice when using accessible DnD" into ub-launcher3-burnaby-polish

This commit is contained in:
Sunny Goyal
2015-10-01 18:25:28 +00:00
committed by Android (Google) Code Review
2 changed files with 1 additions and 10 deletions

View File

@@ -306,14 +306,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() {