Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.

Change-Id: Icec45c364732c0aa9ac713846cad23439b9e42b5
This commit is contained in:
Mohammadinamul Sheik 2015-02-23 17:25:08 -08:00
parent bae3c4bac5
commit 1d5ec6136c

View file

@ -297,7 +297,8 @@ public class DictionaryInfoUtils {
if (0 != resourceId) { if (0 != resourceId) {
return resourceId; return resourceId;
} }
return res.getIdentifier(DEFAULT_MAIN_DICT, "raw", RESOURCE_PACKAGE_NAME); return res.getIdentifier(DEFAULT_MAIN_DICT + DecoderSpecificConstants.DECODER_DICT_SUFFIX,
"raw", RESOURCE_PACKAGE_NAME);
} }
/** /**