mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 10:48:19 +00:00
Fixing 'Item removed' announced twice when using accessible DnD
Change-Id: I2d8781155619d22a41c3f363be7909d411c62fa9
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user