diff options
author | Winson Chung <winsonc@google.com> | 2011-03-18 16:56:08 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2011-03-21 14:25:45 -0700 |
commit | 097eb0a7511d2a645a32cc9e65a322efa54c08dd (patch) | |
tree | 61af6d46652b67a90bde962b2afceb2fc51b1bfb /src/com/android/launcher2/AllApps2D.java | |
parent | b3bcd60f9522f28bd20f455b5f248b30848bc4c2 (diff) | |
download | android_packages_apps_Trebuchet-097eb0a7511d2a645a32cc9e65a322efa54c08dd.tar.gz android_packages_apps_Trebuchet-097eb0a7511d2a645a32cc9e65a322efa54c08dd.tar.bz2 android_packages_apps_Trebuchet-097eb0a7511d2a645a32cc9e65a322efa54c08dd.zip |
Fixing issue where you can't drag from AllApps.
Change-Id: I61bd966b97d275ece1db238edaac8d66936d0a20
Diffstat (limited to 'src/com/android/launcher2/AllApps2D.java')
-rw-r--r-- | src/com/android/launcher2/AllApps2D.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/com/android/launcher2/AllApps2D.java b/src/com/android/launcher2/AllApps2D.java index 1cbb99994..329109f2b 100644 --- a/src/com/android/launcher2/AllApps2D.java +++ b/src/com/android/launcher2/AllApps2D.java @@ -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; } |