aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2012-10-24 20:49:14 -0700
committerScott Jackson <daneren2005@gmail.com>2012-10-24 20:49:14 -0700
commit82999c9b715469fc5a228a2e9b04e23ce4613a7f (patch)
tree0d9201c3eaa970ec933b9c5d04e6319f5c31f959
parent41c20a9feba2d30b0c6c5ffaf096ff0a81b415d2 (diff)
downloaddsub-82999c9b715469fc5a228a2e9b04e23ce4613a7f.tar.gz
dsub-82999c9b715469fc5a228a2e9b04e23ce4613a7f.tar.bz2
dsub-82999c9b715469fc5a228a2e9b04e23ce4613a7f.zip
Do an inline search instead of going to separate activity to search
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
index b94dca6b..82f51057 100644
--- a/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
+++ b/subsonic-android/src/github/daneren2005/dsub/activity/MainActivity.java
@@ -141,9 +141,7 @@ public class MainActivity extends SubsonicTabActivity {
Util.startActivityWithoutTransition(MainActivity.this, intent);
return true;
case R.id.menu_search:
- intent = new Intent(MainActivity.this, SearchActivity.class);
- intent.putExtra(Constants.INTENT_EXTRA_REQUEST_SEARCH, true);
- Util.startActivityWithoutTransition(MainActivity.this, intent);
+ onSearchRequested();
return true;
case R.id.menu_exit:
intent = new Intent(this, MainActivity.class);