From 742966ba0eb3106202b57709f3cc9c2ecfb2a41d Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Wed, 7 Oct 2009 10:26:17 -0700 Subject: [PATCH] Launcher2 - Fix 2171232 Homescreen stopped responding after pressing home in wallpaper selector. --- src/com/android/launcher2/Launcher.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/com/android/launcher2/Launcher.java b/src/com/android/launcher2/Launcher.java index b8ad189a67..4fe655eb21 100644 --- a/src/com/android/launcher2/Launcher.java +++ b/src/com/android/launcher2/Launcher.java @@ -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.