Don't use the View drag-is-cross-app flag

Tracking a framework change; this is descoped from the next release
forthcoming from this branch.

Change-Id: Ib0519cd0ee60ff0051185e60d38be2ac299f420b
This commit is contained in:
Christopher Tate
2011-02-14 17:40:31 -08:00
parent 6788075c9b
commit 66aa48b723

View File

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