bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu

This commit is contained in:
Jonathan Kew
2011-10-06 16:06:36 +01:00
parent c7d67305f2
commit 431e93db66
4 changed files with 70 additions and 20 deletions

View File

@@ -606,16 +606,6 @@ abstract public class GeckoApp
unpackFile(zip, buf, entry, entry.getName());
}
}
// copy any hyphenation dictionaries file into a hyphenation/ directory
Enumeration<? extends ZipEntry> hyphenEntries = zip.entries();
while (hyphenEntries.hasMoreElements()) {
ZipEntry entry = hyphenEntries.nextElement();
if (entry.getName().startsWith("hyphenation/")) {
Log.i("GeckoAppJava", "installing hyphenation : " + entry.getName());
unpackFile(zip, buf, entry, entry.getName());
}
}
}
void removeFiles() throws IOException {