From 0e947fbdbb49d2d58b4d1719224ded4c3f18707a Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Fri, 19 May 2017 12:21:50 -0700 Subject: Making some methods accessible Bug: 37616877 Change-Id: I22ed43d9a39d321757d7c2fde7754b95a44780e2 --- .../android/launcher3/allapps/search/DefaultAppSearchAlgorithm.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithm.java') diff --git a/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithm.java b/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithm.java index 457b454ef..06097d0e6 100644 --- a/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithm.java +++ b/src/com/android/launcher3/allapps/search/DefaultAppSearchAlgorithm.java @@ -54,7 +54,7 @@ public class DefaultAppSearchAlgorithm { }); } - protected ArrayList getTitleMatchResult(String query) { + public ArrayList getTitleMatchResult(String query) { // Do an intersection of the words in the query and each title, and filter out all the // apps that don't match all of the words in the query. final String queryTextLower = query.toLowerCase(); @@ -67,7 +67,7 @@ public class DefaultAppSearchAlgorithm { return result; } - protected boolean matches(AppInfo info, String query) { + public boolean matches(AppInfo info, String query) { int queryLength = query.length(); String title = info.title.toString(); -- cgit v1.2.3