Please sign in to comment.
Make sure to rebuild search index on locale changes...
so that search will still work even after changing the locale. - Rebuild the search index upon locale changes, as it contains locale-sensitive data. - Also make sure to update the in-memory collator in NameNormalizer upon locale changes. - Rebuild the search index on the next db upgrade in order to fix the search index which already contains invalid data. Bug 7251461 Change-Id: Id579a67de792a52a0091bf76d7c5d374f76f1639
- Loading branch information...
Showing with 112 additions and 18 deletions.
- +9 −3 src/com/android/providers/contacts/ContactsDatabaseHelper.java
- +2 −1 src/com/android/providers/contacts/ContactsProvider2.java
- +40 −11 src/com/android/providers/contacts/NameNormalizer.java
- +9 −3 src/com/android/providers/contacts/SearchIndexManager.java
- +52 −0 tests/src/com/android/providers/contacts/NameNormalizerTest.java