No need to refill search results at each resume (fixes issue #155)

This commit is contained in:
Daniel Martí 2013-07-06 00:29:58 +02:00
parent 4f7858ad68
commit a1116608e7

View File

@ -55,6 +55,7 @@ public class SearchResults extends ListActivity {
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
mQuery = intent.getStringExtra(SearchManager.QUERY);
}
updateView();
}
@Override
@ -62,11 +63,11 @@ public class SearchResults extends ListActivity {
if (Intent.ACTION_SEARCH.equals(intent.getAction()))
mQuery = intent.getStringExtra(SearchManager.QUERY);
super.onNewIntent(intent);
updateView();
}
@Override
protected void onResume() {
updateView();
super.onResume();
}