am 0a04f8be: Merge "Output dictionary format version for dump."

* commit '0a04f8be93014fe133b88cd9ee4633f278dbff3d':
  Output dictionary format version for dump.
This commit is contained in:
Keisuke Kuroyanagi 2014-05-14 09:12:16 +00:00 committed by Android Git Automerger
commit 5ad8931480

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) {