Merge "Rank results that match the prefix of the first word higher"
This commit is contained in:
committed by
Android (Google) Code Review
commit
3135409d4e
@@ -211,8 +211,8 @@ public class InstalledAppResultLoader extends AsyncLoader<List<? extends SearchR
|
||||
*/
|
||||
private int getRank(int wordDiff) {
|
||||
if (wordDiff < 6) {
|
||||
return 3;
|
||||
return 2;
|
||||
}
|
||||
return 4;
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user