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

Skip to content
Commit c5e6ce80 authored by Barami's avatar Barami Committed by Gerrit Code Review
Browse files

Contacts: Adding T9 Korean search, Change some code for complex character search.

- Koreans are used to Choseong search(searching contacts by Initial character of hangul. ex: '한' is searched by 'ㅎ').
In a cm roms, This don't work for korean name contacts. This patch added this feature for t9 search.

- But.. T9 search is only designed for alphabet search. This don't care about complex character search.
So, I have to change some code of T9 search. Also.. if another language want to implement t9 search later, They will can extend.

- I also change some code of initT9map function. This is not my code. Copied from cm7 code base.
https://github.com/CyanogenMod/android_packages_apps_Contacts/commit/63a531957818d631e957e8e0157d45298906e3fb
That commit has many changes. But I fixed some part about search only.

* This patch don't affect another languege search. Those language will work by NormalToNumber class that acts like previously.
I had tested on my Samsung GalaxyS2 few days. But i can't tested on mdpi and xhdpi.

Note: this also ported from my previous patsh for ics. http://review.cyanogenmod.com/#/c/18072/
That changed doesn't reviewed long times. Please continue the progress of that patch.

Change-Id: I178ee607b1ef2f7217374c22b7f8fc5b657ef53c
parent fae10d52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment