summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/com/android/quicksearchbox/SearchActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/quicksearchbox/SearchActivity.java b/src/com/android/quicksearchbox/SearchActivity.java
index d17e436..8de6694 100644
--- a/src/com/android/quicksearchbox/SearchActivity.java
+++ b/src/com/android/quicksearchbox/SearchActivity.java
@@ -260,7 +260,7 @@ public class SearchActivity extends Activity {
@Override
protected void onStop() {
if (DBG) Log.d(TAG, "onStop()");
- if (!mTookAction) {
+ if (!mTookAction && mSearchActivityView.getSuggestions() != null) {
// TODO: This gets logged when starting other activities, e.g. by opening the search
// settings, or clicking a notification in the status bar.
// TODO we should log both sets of suggestions in 2-pane mode