Merge "The drag/drop ApiDemo now uses a global drag, not local-only"
This commit is contained in:
committed by
Android (Google) Code Review
commit
9ef185fe1b
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user