} catch (RemoteException e) {
Slog.e(TAG, "Unable to note drag target change");
}
- mCurrentDragView = prevDragView;
}
}
}
event.mAction = DragEvent.ACTION_DRAG_EXITED;
mCurrentDragView.dispatchDragEvent(event);
}
+ mCurrentDragView = newDragTarget;
}
// If we've dragged over a new view, send it the ENTERED message
if (newDragTarget != null) {
event.mAction = DragEvent.ACTION_DRAG_ENTERED;
newDragTarget.dispatchDragEvent(event);
}
- mCurrentDragView = newDragTarget;
event.mAction = action; // restore the event's original state
}