commit | 1f16c3ea6ef40f6ac5744b59c446c03eb2618e4f | [log] [tgz] |
---|---|---|
author | Jay Shrauner <shrauner@google.com> | Fri May 10 14:29:08 2013 -0700 |
committer | Jay Shrauner <shrauner@google.com> | Fri May 10 14:29:08 2013 -0700 |
tree | 10cafefc1b91c7ba1aa6c65773b7bc331f1c18fe | |
parent | a8b14437079ab703411245385b8898a54703906c [diff] |
Fix unit tests when phone is in ja_JP locale ContactsProvider2 uses method getLocale() to allow tests to override default locale. This locale, however, was not being used for the NameSplitter. Change the createNameSplitter method to take locale as an input parameter so the SearchIndexManager tests will run with the right search indexes. Bug:7264326 Change-Id: I2535673032dcd628d8719b00eff6512cba9dc279