Skip to content

Commit

Permalink
compression: android: using file name not nativepath
Browse files Browse the repository at this point in the history
  • Loading branch information
Russ Frank committed Jul 29, 2013
1 parent 683bc5b commit ff44245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/src/ti/compression/CompressionModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public String zip(Object[] args) {
Util.e("Skipping over file, because it does not exist: "
+ file.nativePath());
} else {
ZipEntry ze = new ZipEntry(file.nativePath());
ZipEntry ze = new ZipEntry(file.name());
zout.putNextEntry(ze);
writeInFile(file, zout);
zout.closeEntry();
Expand Down

0 comments on commit ff44245

Please sign in to comment.