commit | e35235f71f08f7216833964e325ea57c96da965d | [log] [tgz] |
---|---|---|
author | Paulo Casanova <pasc@google.com> | Thu Nov 02 21:02:29 2017 -0700 |
committer | Paulo Casanova <pasc@google.com> | Fri Nov 03 15:25:31 2017 +0000 |
tree | 4db1758f69c0e87d411bb2c8dde6beda1f0ef6ea | |
parent | 9b82a24f0e7a4f128782269be9e97fea64b393f8 [diff] |
Add read-only mode to ZFile. When opening the zip file in read-only mode the file is never modified and any attempt to modify throws IllegalStateExeption. Test: included Bug: 62249349 Change-Id: I5e589502dfd4d8d112bc563d7ed28291143ec5ea