• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

修訂66aa48b72374182f2e418084f9384cc0e635311c (tree)
時間2011-02-15 10:40:31
作者Christopher Tate <ctate@goog...>
CommiterChristopher Tate

Log Message

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

Change Summary

差異

--- a/samples/ApiDemos/src/com/example/android/apis/view/DraggableDot.java
+++ b/samples/ApiDemos/src/com/example/android/apis/view/DraggableDot.java
@@ -132,7 +132,7 @@ public class DraggableDot extends View {
132132 public boolean onLongClick(View v) {
133133 ClipData data = ClipData.newPlainText("dot", "Dot : " + v.toString());
134134 v.startDrag(data, new ANRShadowBuilder(v, mAnrType == ANR_SHADOW),
135- (Object)v, View.DRAG_FLAG_GLOBAL);
135+ (Object)v, 0);
136136 return true;
137137 }
138138 });