Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 516222f2 authored by yingrenw's avatar yingrenw Committed by Michael Bestas
Browse files

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
Signed-off-by: Alexander Martinz's avatarAlexander Martinz <amartinz@shiftphones.com>
parent 2c7df5fa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -141,7 +141,8 @@ public class DefaultAppSearchAlgorithm implements SearchAlgorithm {
                // Always a break point for a symbol
                return true;
            default:
                return  false;
                // Always a break point at first character
                return prevType == Character.UNASSIGNED;
        }
    }