aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-04-03 21:14:44 +0200
committerChristian Schneppe <christian@pix-art.de>2018-04-03 21:14:44 +0200
commita37b60a4bb5b2c4b862b84c27aa548f49483c8e0 (patch)
tree7e5503a62753b4c780d5e6ad34d60bd8e4c67d1b
parent035f2ce97395d60448be7e751f586080e39d4c31 (diff)
remove deprecated method
-rw-r--r--src/main/java/de/pixart/messenger/ui/StartConversationActivity.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java b/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java
index 7be9c090a..6e2135780 100644
--- a/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java
+++ b/src/main/java/de/pixart/messenger/ui/StartConversationActivity.java
@@ -20,7 +20,6 @@ import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager;
import android.support.v4.app.FragmentTransaction;
import android.support.v4.app.ListFragment;
-import android.support.v4.view.MenuItemCompat;
import android.support.v4.view.PagerAdapter;
import android.support.v4.view.ViewPager;
import android.support.v7.app.ActionBar;
@@ -634,7 +633,7 @@ public class StartConversationActivity extends XmppActivity implements OnRosterU
mSearchEditText.addTextChangedListener(mSearchTextWatcher);
mSearchEditText.setOnEditorActionListener(mSearchDone);
if (mInitialJid != null) {
- MenuItemCompat.expandActionView(mMenuSearchView);
+ mMenuSearchView.expandActionView();
mSearchEditText.append(mInitialJid);
filter(mInitialJid);
}