Making some methods accessible
Bug: 37616877 Change-Id: I22ed43d9a39d321757d7c2fde7754b95a44780e2
This commit is contained in:
1 parent
7056275771
commit
0e947fbdbb
4 files changed
+8
-10
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user