Commit 3cf801a6 authored by jehan's avatar jehan
Browse files

improve Android's platform helper

parent fe0b526b
......@@ -202,6 +202,10 @@ public class AndroidPlatformHelper {
}
public void copyFromPackage(int ressourceId, File target) throws IOException {
if (ressourceId == 0) {
Log.i("Resource identifier null for target ["+target.getName()+"]");
return;
}
if (!target.getParentFile().exists())
target.getParentFile().mkdirs();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment