From b75db5bb869f906ffd2c6e3bfaa2c6d8572ff059 Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Tue, 24 Apr 2018 20:44:36 -0400 Subject: [PATCH] Fix deprecated MenuItemCompat usage --- .../java/net/nullsum/audinaut/fragments/SearchFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/nullsum/audinaut/fragments/SearchFragment.java b/app/src/main/java/net/nullsum/audinaut/fragments/SearchFragment.java index d0d0969..1c7649f 100644 --- a/app/src/main/java/net/nullsum/audinaut/fragments/SearchFragment.java +++ b/app/src/main/java/net/nullsum/audinaut/fragments/SearchFragment.java @@ -204,7 +204,7 @@ public class SearchFragment extends SubsonicFragment implements SectionAdapter.O task.execute(); if (searchItem != null) { - MenuItemCompat.collapseActionView(searchItem); + searchItem.collapseActionView(); } }