Launcher3: Can't search out local app by Chinese
Description: Chinese content type is Character.OTHER_LETTER. When key matches,it check the content type. And if type is Character.OTHER_LETTER, it doesn't support search and break. When the content type is Character.OTHER_LETTER, make it work normally. Change-Id: I3713f24c9206fe16a8da2a23e6c90d68079dd533
This commit is contained in:
1 parent
a80a70f2f8
commit
ad19a3225d
2 files changed
+6
-1
No files matched your search
@@ -130,7 +130,8 @@ public class DefaultAppSearchAlgorithm {
|
||||
// Always a break point for a symbol
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
// Always a break point at first character
|
||||
return prevType == Character.UNASSIGNED;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user