History log of /packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9bd4099ee27f8302a06fc66980079f29127318f8 24-Mar-2017 Jon Mann <jonmann@google.com> Refactor RootsCache+RootsAccess to ProvdersCache+ProvdersAccess

Test: verified success
Bug: 34219584
Change-Id: I16d5e7d70240626efc9020bd11b13c778fc2d95e
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
894d487698ff5c7052f499602fb74ad89f1d2d15 17-Mar-2017 Garfield Tan <xutan@google.com> Add unit tests for picker.ActionHandler.

Bug: 36094136
Change-Id: Ia3fe43ab1046a5cde87732a840fc6c062c8c8d0f
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
ae9375844c27ee532c4a3c73d9d2297884933c1e 09-Mar-2017 Garfield Tan <xutan@google.com> Some refactor around default init location for picker.

* Isolate DocumentStack initialization to a static method. Address
Steve's comment in ag/1971473.
* Move the special init location logic in PickActivity for create and
copy destination action into ActionHandler

Change-Id: I0f5b6d0cf6b83c282ed9e14ae46a05269ac971e7
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
e967033315ed64bca8c89d601d187fd12754f1fb 07-Mar-2017 Garfield Tan <xutan@google.com> Lift loader to activity level.

Also fix a bug that leaves DocumentsUI in a weird state if it fails to
obtain root document.

Change-Id: Ibb67bfd0114f45f41c0000078ca56767b5a4542b
Tests: Manual tests and auto tests.
Bug: 35934082
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
db7a0e72cf791ecc9529d4ad1023393dbdd7f3e9 02-Mar-2017 Ben Lin <linben@google.com> Prevent new Docs getting pushed onto the stack if they already at top of
stack.

Bug: 32343370
Change-Id: Ia12d20c21fca481030af5626227bf8b51c4c199d
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
40c85052e1ae43fdcbda0fe7ecfe8c3316bec2bf 02-Feb-2017 Garfield Tan <xutan@google.com> Remove State#restored.

The stack itself is the best indicator of if it has been initialized or
not. With a small refactor we can encapsulate the stack modification in
initialization phase to ActionHandlers only.

Hopefully it won't cause other issues in other corner cases.

Credits to Sony Mobile devs on their bug report.

Bug: 34593795
Change-Id: I4c8e5f9816ede8bb335151626c2aedd2bed521cc
(cherry picked from commit 23618f30215a4bfecaa10795e2ba413702c12bbf)
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
f23cbf4610ecc982ae8b6b118ea1f1994cf3afcf 23-Dec-2016 Ben Lin <linben@google.com> Removed all auto-open-drawer logic on app start.

Bug: 32515191
Change-Id: I8c6fa6cc63d891bc29b39e0c3886617ef3b4b39a
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
a4a23b07562659776e8fbdeea88634d6a8677dfe 26-Oct-2016 Garfield Tan <xutan@google.com> Add unit tests for DocumentStack.

Bug: 32344918
Change-Id: I39b9fe897dc04332c0fd25ce4bc85e452076b540
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
6c6f0b98465423dc5359b7bb0003acd4abf7bce8 22-Oct-2016 Garfield Tan <xutan@google.com> Fix a bug that when user pastes a doc, the breadcrumb adds a doc to it.

Change-Id: Icf5c182b8388bd7320669d55a9ae9be8786dbc3b
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
2a837422d25b44f2847bc82e7c90b4e8fcde1518 19-Oct-2016 Garfield Tan <xutan@google.com> Address comments in ag/1514806.

* Isolate LinkedList and stack/root manipulation in DocumentStack
* Consolidate ProviderAccess into DocumentAccess
* Pass Uri as the the param to LoadDocStackTask
* Tidy up initLocation() in picker.Actionhandler
* Add a test case for initLocation with data in picking intents

Bug: 32156176
Change-Id: I3ca07342fc594e47fc003df146dcf982f152f56d
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
1686883a8d049b399e34954a4feaa98490277ae8 26-Sep-2016 Garfield Tan <xutan@google.com> Features around findPath API.

* Add folders into search result
* Allow callers passing data to launch pickers at specfic location
* Rewire loadDocument() to LoadDocStackTask
* Remove VIEW intent for FilesActivity and related OpenUriForViewTask
* Add a ProviderAccess to enable testing in LoadDocStackTask
* Fix a wrong assertion in files/ActionHandlerTest

Change-Id: Iacc2b99dc68cbb4a40a4c445c69473973123c5bf
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java
d080506e3aa8547605cd4783eb660775d7d2b8ee 15-Sep-2016 Steve McKay <smckay@google.com> Move more classes to more specific locations.

Moved .model classes to .base.
Deleted some unused classes.
Moved functional tests into a new .funcitonal package.
Followup to 1450250.

Change-Id: Ic087fe4a014d9179fab3dc6f833aaf73373f9452
/packages/apps/DocumentsUI/src/com/android/documentsui/base/DocumentStack.java