Merge "The drag/drop ApiDemo now uses a global drag, not local-only"

This commit is contained in:
Christopher Tate
2011-01-28 18:09:20 -08:00
committed by Android (Google) Code Review

View File

@@ -132,7 +132,7 @@ public class DraggableDot extends View {
public boolean onLongClick(View v) {
ClipData data = ClipData.newPlainText("dot", "Dot : " + v.toString());
v.startDrag(data, new ANRShadowBuilder(v, mAnrType == ANR_SHADOW),
(Object)v, 0);
(Object)v, View.DRAG_FLAG_GLOBAL);
return true;
}
});