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/roots/LoadRootTask.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/roots/LoadRootTask.java
|
988d8a354b00dce7e24deee187c08a4591956ac9 |
|
27-Sep-2016 |
Steve McKay <smckay@google.com> |
Move launch logic into ActionHandlers. Add test. Add RootsAccess interface to RootsCache (to faciliate testing). Create a new TestEnv class that: * bootstaps basic data and dependencies * installs test executor so async tasks can be executed predictably. * instruments main thread to ensure AsyncTasks return results before we continue to make asserts. Add new Lookup interface to provide improved semantics over j.u.f.Function. Inject access to Provider specific Executors by way of Lookup. Change-Id: I0fc71897a4cc40d26c5fa3ae3bb88bad7dbdcf5c
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/LoadRootTask.java
|
d9caa6ab53aa784acaf241c0ded3c4ae2d342bf8 |
|
16-Sep-2016 |
Steve McKay <smckay@google.com> |
Move State to base and root stuff to roots. And move Shared to base. And lots more to base. Change-Id: I8b01264a329473c13c59f0cd25a320ba73dbd82d
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/LoadRootTask.java
|