diff options
Diffstat (limited to 'src/com')
-rw-r--r-- | src/com/android/launcher/Launcher.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/launcher/Launcher.java b/src/com/android/launcher/Launcher.java index 51310818..fb454c06 100644 --- a/src/com/android/launcher/Launcher.java +++ b/src/com/android/launcher/Launcher.java @@ -869,7 +869,8 @@ public final class Launcher extends Activity implements View.OnClickListener, On if ((intent.getFlags() & Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT) != Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT) { - if (mGesturesPanel != null && mDragLayer.getWindowVisibility() == View.VISIBLE) { + if (mGesturesPanel != null && mDragLayer.getWindowVisibility() == View.VISIBLE && + mDragLayer.hasWindowFocus()) { SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE); if (!searchManager.isVisible()) { |