am e3406a2d: better drag beha vior

Merge commit 'e3406a2de3d73ceeda5bcf8e7ce4318d05fe70c8'

* commit 'e3406a2de3d73ceeda5bcf8e7ce4318d05fe70c8':
  better drag beha vior
This commit is contained in:
Joe Onorato 2009-09-03 14:44:28 -07:00 committed by Android Git Automerger
commit 274c29d7db
1 changed files with 6 additions and 1 deletions

View File

@ -165,6 +165,10 @@ public class AllAppsView extends RSSurfaceView
{
super.onTouchEvent(ev);
if (mRollo.mState.visible == 0) {
return false;
}
mTouchHandler = mFlingHandler;
/*
int action = ev.getAction();
@ -270,7 +274,8 @@ public class AllAppsView extends RSSurfaceView
mDragController.startDrag(app.iconBitmap, screenX, screenY,
left, top, Defines.ICON_WIDTH_PX, Defines.ICON_HEIGHT_PX,
this, app, DragController.DRAG_ACTION_COPY);
// close me!
mLauncher.closeAllAppsDialog(true);
}
return true;
}