am 1d44a3f4: am 247226b1: Fix bug 2266095 - all apps animates out when you return home by hitting back

Merge commit '1d44a3f43fec2972c1b855677f010cb82919cb35' into eclair-mr2-plus-aosp

* commit '1d44a3f43fec2972c1b855677f010cb82919cb35':
  Fix bug 2266095 - all apps animates out when you return home by hitting back
This commit is contained in:
Joe Onorato
2009-11-18 18:04:13 -08:00
committed by Android Git Automerger
+1 -1
View File
@@ -1332,7 +1332,7 @@ public final class Launcher extends Activity
} else if (event.getAction() == KeyEvent.ACTION_UP) {
switch (event.getKeyCode()) {
case KeyEvent.KEYCODE_BACK:
if (!event.isCanceled()) {
if (event.isTracking() && !event.isCanceled()) {
mWorkspace.dispatchKeyEvent(event);
if (isAllAppsVisible()) {
closeAllApps(true);