am 156ea961: am 6d4cdadb: am a2422c0b: Merge "Show more messages when reading a compressed combined format file."

* commit '156ea9611676a17f6b874eb54e226ba847c088fc':
  Show more messages when reading a compressed combined format file.
main
Jean Chalard 2013-10-09 21:26:31 -07:00 committed by Android Git Automerger
commit 4f1424f9e6
1 changed files with 5 additions and 1 deletions

View File

@ -183,7 +183,11 @@ public final class BinaryDictOffdeviceUtils {
filename + " does not seem to be a dictionary file"));
} else if (CombinedInputOutput.isCombinedDictionary(
decodedSpec.mFile.getAbsolutePath())){
if (report) System.out.println("Format : Combined format");
if (report) {
System.out.println("Format : Combined format");
System.out.println("Packaging : " + decodedSpec.describeChain());
System.out.println("Uncompressed size : " + decodedSpec.mFile.length());
}
return CombinedInputOutput.readDictionaryCombined(
new BufferedInputStream(new FileInputStream(decodedSpec.mFile)));
} else {