Merge "Output dictionary format version for dump."

This commit is contained in:
Keisuke Kuroyanagi 2014-05-14 09:07:56 +00:00 committed by Android (Google) Code Review
commit 0a04f8be93

View file

@ -607,6 +607,7 @@ abstract public class ExpandableBinaryDictionary extends Dictionary {
Log.d(TAG, "Dump dictionary: " + mDictName);
try {
final DictionaryHeader header = mBinaryDictionary.getHeader();
Log.d(TAG, "Format version: " + mBinaryDictionary.getFormatVersion());
Log.d(TAG, CombinedFormatUtils.formatAttributeMap(
header.mDictionaryOptions.mAttributes));
} catch (final UnsupportedFormatException e) {