diff --git a/src/com/android/launcher3/ButtonDropTarget.java b/src/com/android/launcher3/ButtonDropTarget.java index 9caa7ad874..69688f371d 100644 --- a/src/com/android/launcher3/ButtonDropTarget.java +++ b/src/com/android/launcher3/ButtonDropTarget.java @@ -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() { diff --git a/src/com/android/launcher3/DeleteDropTarget.java b/src/com/android/launcher3/DeleteDropTarget.java index 2a0e203e68..edaf525d65 100644 --- a/src/com/android/launcher3/DeleteDropTarget.java +++ b/src/com/android/launcher3/DeleteDropTarget.java @@ -125,9 +125,4 @@ public class DeleteDropTarget extends ButtonDropTarget { dragLayer.animateView(d.dragView, fling, duration, tInterpolator, onAnimationEndRunnable, DragLayer.ANIMATION_END_DISAPPEAR, null); } - - @Override - protected String getAccessibilityDropConfirmation() { - return getResources().getString(R.string.item_removed); - } }