in java/com/facebook/soloader/UnpackingSoSource.java [268:280]
private void extractDso(InputDso iDso, byte[] ioBuffer) throws IOException {
Log.i(TAG, "extracting DSO " + iDso.getDso().name);
try {
if (!soDirectory.setWritable(true)) {
throw new IOException("cannot make directory writable for us: " + soDirectory);
}
extractDsoImpl(iDso, ioBuffer);
} finally {
if (!soDirectory.setWritable(false)) {
Log.w(TAG, "error removing " + soDirectory.getCanonicalPath() + " write permission");
}
}
}