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:
@@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user