From a37b60a4bb5b2c4b862b84c27aa548f49483c8e0 Mon Sep 17 00:00:00 2001 From: Christian Schneppe Date: Tue, 3 Apr 2018 21:14:44 +0200 Subject: remove deprecated method --- src/main/java/de/pixart/messenger/ui/StartConversationActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') 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); } -- cgit v1.2.3