Fixing issue where you can't drag from AllApps.

Change-Id: I61bd966b97d275ece1db238edaac8d66936d0a20
This commit is contained in:
Winson Chung committed 2011-03-21 14:25:45 -07:00
1 parent b3bcd60f95
commit 097eb0a751
4 files changed
+37 -27

No files matched your search

+3 -3
View File
@@ -143,7 +143,7 @@ public class AllApps2D
homeButton.setOnClickListener(
new View.OnClickListener() {
public void onClick(View v) {
mLauncher.closeAllApps(true);
mLauncher.showWorkspace(true);
}
});
}
@@ -167,7 +167,7 @@ public class AllApps2D
switch (keyCode) {
case KeyEvent.KEYCODE_BACK:
mLauncher.closeAllApps(true);
mLauncher.showWorkspace(true);
break;
default:
return false;
@@ -190,7 +190,7 @@ public class AllApps2D
app = new ApplicationInfo(app);
mDragController.startDrag(view, this, app, DragController.DRAG_ACTION_COPY);
mLauncher.closeAllApps(true);
mLauncher.showWorkspace(true);
return true;
}