phonebookui/Phonebook2/UIPolicy/src/CPbk2ContactFindPolicy.cpp
branchRCL_3
changeset 21 9da50d567e3c
parent 0 e686773b3f54
equal deleted inserted replaced
20:f4a778e096c2 21:9da50d567e3c
    28 #include <MVPbkBaseContact.h>
    28 #include <MVPbkBaseContact.h>
    29 #include <CVPbkFieldTypeRefsList.h>
    29 #include <CVPbkFieldTypeRefsList.h>
    30 #include <CVPbkContactFieldIterator.h>
    30 #include <CVPbkContactFieldIterator.h>
    31 #include <MVPbkContactFieldTextData.h>
    31 #include <MVPbkContactFieldTextData.h>
    32 #include <VPbkContactStoreUris.h>
    32 #include <VPbkContactStoreUris.h>
    33 #include <VPbkEng.rsg>
    33 #include <vpbkeng.rsg>
    34 #include <MVPbkContactFieldTextData.h>
    34 #include <MVPbkContactFieldTextData.h>
    35 #include <MVPbkBaseContactFieldCollection.h>
    35 #include <MVPbkBaseContactFieldCollection.h>
    36 
    36 
    37 // System includes
    37 // System includes
    38 #include <FindUtil.h>
    38 #include <FindUtil.h>
   212     // names without typing space between them.
   212     // names without typing space between them.
   213     if ( findWordsCount == KCountOfWords && !match )
   213     if ( findWordsCount == KCountOfWords && !match )
   214         {
   214         {
   215         FeatureManager::InitializeLibL();
   215         FeatureManager::InitializeLibL();
   216         TBool chinese = FeatureManager::FeatureSupported( KFeatureIdChinese );
   216         TBool chinese = FeatureManager::FeatureSupported( KFeatureIdChinese );
       
   217         
       
   218         TBool korean = FeatureManager::FeatureSupported( KFeatureIdKorean );
   217         FeatureManager::UnInitializeLib();
   219         FeatureManager::UnInitializeLib();
   218         
       
   219         TBool korean = (User::Language() == ELangKorean);
       
   220 
       
   221         if ( chinese || korean )
   220         if ( chinese || korean )
   222             {
   221             {
   223             match = MatchChineseContactNameL( aFindWords, aContact );
   222             match = MatchChineseContactNameL( aFindWords, aContact );
   224             }
   223             }
   225         }
   224         }