Launcher2 - Fix 2171232 Homescreen stopped responding after pressing home in wallpaper selector.

This commit is contained in:
Joe Onorato
2009-10-07 10:26:17 -07:00
parent a8138d5fa1
commit 742966ba0e
+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.