am 1d5ec613: Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.

* commit '1d5ec6136cf2d2c84453120407957ddb64c7b2b7':
  Use DECODER_DICT_SUFFIX on fallback to the default main dict resource.
This commit is contained in:
Mohammadinamul Sheik 2015-02-24 01:33:33 +00:00 committed by Android Git Automerger
commit 57b2d854b3

View file

@ -297,7 +297,8 @@ public class DictionaryInfoUtils {
if (0 != 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);
}
/**