Making some methods accessible

Bug: 37616877
Change-Id: I22ed43d9a39d321757d7c2fde7754b95a44780e2
This commit is contained in:
Sunny Goyal
2017-05-19 12:21:50 -07:00
parent 7056275771
commit 0e947fbdbb
4 changed files with 8 additions and 10 deletions

View File

@@ -54,7 +54,7 @@ public class DefaultAppSearchAlgorithm {
});
}
protected ArrayList<ComponentKey> getTitleMatchResult(String query) {
public ArrayList<ComponentKey> 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();