am 742966ba: Launcher2 - Fix 2171232 Homescreen stopped responding after pressing home in wallpaper selector.

Merge commit '742966ba0eb3106202b57709f3cc9c2ecfb2a41d'

* commit '742966ba0eb3106202b57709f3cc9c2ecfb2a41d':
  Launcher2 - Fix 2171232 Homescreen stopped responding after pressing home in wallpaper selector.
This commit is contained in:
Joe Onorato
2009-10-12 12:30:27 -07:00
committed by Android Git Automerger
+3
View File
@@ -774,6 +774,9 @@ public final class Launcher extends Activity
if (Intent.ACTION_MAIN.equals(intent.getAction())) {
getWindow().closeAllPanels();
// Whatever we were doing is hereby canceled.
mWaitingForResult = false;
// Set this flag so that onResume knows to close the search dialog if it's open,
// because this was a new intent (thus a press of 'home' or some such) rather than
// for example onResume being called when the user pressed the 'back' button.