History log of /packages/apps/DocumentsUI/src/com/android/documentsui/archives/Loader.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b19061c6827780f31e4247ff7eaf47e153098e55 13-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Remove cache, and manually control archives lifecycle.

This will reduce memory consumption, copying flakyness and
simplify code.

Test: Unit tests.
Bug: 35303895, 35151292
Change-Id: I7124cf3c3ec897887171dffb80eddfe99a6a7c41
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/Loader.java
dc235d2796593d0275843b7a5897c72c5603f6cc 25-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Add logic for creating archives.

It's the WriteableArchive. Not hooked up to DocumentsUI yet, though.

Test: Unit tests.
Bug: 20822019
Change-Id: I4f257a3e39376d9018b97652c54482bfa5b6ebc8
(cherry picked from commit a903c2cdad65d0fe163a4152faa6bd05e2888b22)
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/Loader.java
c8fb30f1b909e2c6178ac7ad9980b48ed6b6d2c8 24-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Refactor archives to support creating archives.

Archive class used StrictJarFile, which only supports reading.
This CL makes Archive a base class which is going to have two
subclasses: ReadableArchive (current Archive) and WriteableArchive.

ReadableArchive will be used to open archives with StrictJarFile.
WriteableArchive will be used to create archives with ZipOutputStream.

Test: Unit tests.
Bug: 20822019
Change-Id: I40174c8d970bc3098929854231622e3006f6263e
(cherry picked from commit d683f9756b0c56d28693c4d0269217e8fcebf76a)
(cherry picked from commit c8d3007d5ce12d0bc04bbda018c47889fabc8fd3)
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/Loader.java
55b6b48c07fce872ad651267ce699f99b4b16e3e 13-Dec-2016 Tomasz Mikolajewski <mtomasz@google.com> Handle broken archives correctly.

Test: Manually and automated tests.
Bug: 32260433
Change-Id: I2c701c34184b7bb2954e28954398e0634ee0c4a1
(cherry picked from commit 40cec2ae53d637e186d0f6de105df4859bef2201)
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/Loader.java
5a9d100fe3d5b596d94a387e2dc370b84624062a 19-Oct-2016 Tomasz Mikolajewski <mtomasz@google.com> DO NOT MERGE: Move archive's Loader to a separate file.

Test: Compiles.
Bug: 32228589
Change-Id: I63936c08246ae551ff3a74a89133453c3302874a
(cherry picked from commit c6e98ffffc3091741f158e2050ba0a3f76f6f087)
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/Loader.java