LibraryListActivity: Trim search input
@@ -189,7 +189,7 @@ public class LibraryListActivity extends AppCompatActivity
@Override
protected void onNewIntent(Intent intent) {
if (Intent.ACTION_SEARCH.equals(intent.getAction())) {
- String query = intent.getStringExtra(SearchManager.QUERY);
+ String query = intent.getStringExtra(SearchManager.QUERY).trim();
search(query);
}
}
