From 69374f3e5f700f50267e21aa729db5e56658da49 Mon Sep 17 00:00:00 2001 From: iamharsshit Date: Wed, 7 Mar 2018 03:15:18 +0530 Subject: [PATCH] remove deprecated method --- .../eu/siacs/conversations/ui/StartConversationActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java b/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java index 216c8000c..dc582e147 100644 --- a/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/StartConversationActivity.java @@ -623,7 +623,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); }