Merge "Output dictionary format version for dump."

main
Keisuke Kuroyanagi 2014-05-14 09:07:56 +00:00 committed by Android (Google) Code Review
commit 0a04f8be93
1 changed files with 1 additions and 0 deletions

View File

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