backout changeset e1eac54b1ed3 (bug 655337 pt 2) for causing a leak.

This commit is contained in:
Jonathan Kew
2011-10-06 17:29:39 +01:00
parent c177f45a1e
commit e9bf80ced8
4 changed files with 20 additions and 68 deletions

View File

@@ -606,6 +606,16 @@ 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 {