diff --git a/app/build.gradle b/app/build.gradle index f5b59ab1..ed17a6c0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -1,9 +1,6 @@ apply plugin: 'com.android.application' android { - signingConfigs { - - } compileSdkVersion 25 buildToolsVersion "25.0.3" defaultConfig { diff --git a/app/src/main/java/com/keylesspalace/tusky/SearchActivity.java b/app/src/main/java/com/keylesspalace/tusky/SearchActivity.java index df7d8d44..9fad5f05 100644 --- a/app/src/main/java/com/keylesspalace/tusky/SearchActivity.java +++ b/app/src/main/java/com/keylesspalace/tusky/SearchActivity.java @@ -147,14 +147,7 @@ public class SearchActivity extends BaseActivity implements SearchView.OnQueryTe SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE); if (searchManager != null) { - List searchables = searchManager.getSearchablesInGlobalSearch(); SearchableInfo searchableInfo = searchManager.getSearchableInfo(getComponentName()); - for (SearchableInfo info : searchables) { - if (info.getSuggestAuthority() != null - && info.getSuggestAuthority().startsWith("applications")) { - searchableInfo = info; - } - } searchView.setSearchableInfo(searchableInfo); }