backout changeset e1eac54b1ed3 (bug 655337 pt 2) for causing a leak.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user