History log of /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5f2a9babb845129fd9595f6265cda84b30c795c5 26-May-2017 Garfield Tan <xutan@google.com> Apply correct restoring logic.

We need to continue on the work left from last time, rather than blindly
believe everything is restored by Android.

Test: Manual test & auto test.
Bug: 38321082
Change-Id: Ic9f80ab16a203a1526c7d23d86512b841c750366
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
b9ac9cf6d8c5f9b25436df1bb90c5bf5f929cd7f 16-May-2017 Garfield Tan <xutan@google.com> Add a feature flag for overwrite confirmation dialog.

Showing that dialog breaks one CTS test in NYC ARC++.

Test: Auto tests & manual tests w/o confirmation.

Change-Id: If3a568b4c48e75b302fbc879b2b6ae693fb68c20
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
1d4e007d7651c7f5f3f7710e60550a8b1ec83c70 09-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Proper refresh when Authentication finishes with Activity.RESULT_OK." into arc-apps
800300826ebb50f5a26393bc966c27fa26e9a16f 02-May-2017 Ben Lin <linben@google.com> Proper refresh when Authentication finishes with Activity.RESULT_OK.

Test: Updated DemoProvider, tested manually and added new unit tests.
Bug: 37876119
Change-Id: I0a8f08ff06e536bf83fb4fcf5e91d765dfe5ccbb
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
dbf09882377b4752fe45b1e2282fcbac4dcee60b 20-Apr-2017 Ben Lin <linben@google.com> Move defaultRootUri authority and rootId to resources.

Change-Id: I2bd443d86fa3567fe4eb2ddf4cef575be3e4852e
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
2e81db6f2030ec6c8dd758c3020ce5db8363bf25 28-Apr-2017 Garfield Tan <xutan@google.com> Fix crash when dragging documents from Recents.

Also not allow user to move from Recents (DnD or Ctrl+X).

Bug: 37712649
Change-Id: I5d63b6359ca478e77479872832f8f759d17c92e6
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
7a4fa239abefd05d03d2e62c651d7b08f682d8b4 18-Apr-2017 Ben Lin <linben@google.com> Fix running small/medium tests on ARC++ devices.

A lot of our unit tests does not respect Features flag. This CL will
make it so tests now toggle features on/off depending on the config overlay.

Bug: 37358647
Change-Id: I13798c112eb6ff1009aa43b2b5d154e4cd7f9912
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
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/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
894d487698ff5c7052f499602fb74ad89f1d2d15 17-Mar-2017 Garfield Tan <xutan@google.com> Add unit tests for picker.ActionHandler.

Bug: 36094136
Change-Id: Ia3fe43ab1046a5cde87732a840fc6c062c8c8d0f
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
23ac60cd2b1beb59b6cd760b91c7e1b1f7e8fe49 14-Mar-2017 Garfield Tan <xutan@google.com> Add a confirmation dialog before overwriting a file in picker.

And some related refactoring in picker.

Test: Manually tested and auto tests pass.
Bug: 34339143
Change-Id: I0e87a20819756858f4c4eab70e9191cb525f84d9
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.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/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
bab25161824d80657b11ba6db6e9f0ecfc72dfbc 09-Mar-2017 Garfield Tan <xutan@google.com> Initialize the location to recents if we fail to restore stack.

Bug: 36083419
Change-Id: I8da79eb9dd50d69c828472aae725e286d5e1e8a0
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.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/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
30d8c7988e15336d995e4b5033ba533a8333446f 22-Feb-2017 Jon Mann <jonmann@google.com> Start to move access to model in to Injector and ActionHandlers, refactor select all and file rename.

Test: verified existing tests still work
Bug: 35406563
Change-Id: Ie0a6b7fd17a357cd9cce4338c123ca2e5795af22
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
317d65f8153822981ac08b944abde72a7db20104 07-Feb-2017 Steve McKay <smckay@google.com> Don't show Documents root by default.

Replace "productivity_device" with "show_documents_root" bit.

Bug: 34678759
Change-Id: I242e833a6d64db27ff1019a5d87e5bc8c1e1ee4a
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
f8969d63aa9e6d67e594997080f883ec84dfac71 03-Feb-2017 Garfield Tan <xutan@google.com> Add capability to launch to a document in file manager.

Bug: 34944388
Change-Id: I45a93c99eb16560e489950f75b7fb539908e1cc5
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.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/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
fc72617ec69f5e63c9091c47be23097a40288e2e 05-Nov-2016 Garfield Tan <xutan@google.com> Use the new extra to get the initial location.

Also fix some bugs around that and add respective tests.

Bug: 32648422

Change-Id: I9bba32979c7dda4edc7a694efd0ae5b9f272dcc7
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
d947f0192142c7db40d7dfaa8d0c6caaa1cf7c36 18-Oct-2016 Ben Lin <linben@google.com> Add Cut/Copy/Delete operation to currently focused item.

Also removed ability to focus on items in the directory list while
there's an on-going selection to avoid having a weird state of both
focus and selection. Shift extension still works, just that once user
puts focus on RootsFragment, they won't be able to focus back into
DirectoryFragment.

Bug: 32141890
Change-Id: I14c06f8616b63d04f0b5f489032f7006f91416a8
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.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/tests/unit/com/android/documentsui/picker/ActionHandlerTest.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/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
63bf8135243605949a3bb140167ef91f5c6ae2ae 11-Oct-2016 Garfield Tan <xutan@google.com> Move openContainerDocument() into ActionHandlers.

Change-Id: I48fb6e38993d2aff80b9d218d001c92ba2235e78
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
5b0a2c187a9e446b683687817d22cbe443585223 07-Oct-2016 Steve McKay <smckay@google.com> Inject SelectionManager instead of passing on reset.

Move more delete functionality into ActionHandler.
Make ActionModeController Activity scoped.
Name most "Config" objects (relating to scope) to ContentScope.
Clear focus info when resetting FocusManager.

Bug: 31658228

Change-Id: I6dbdb07ded83c75b82aec5773a60ef0febb6f02c
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
4f78ba643270b9d84da1952d8e408220b25ec6fd 05-Oct-2016 Steve McKay <smckay@google.com> Move selection to selection pkg, make activity scoped.

Move all other selection related classes to selection pkg.

Change-Id: I57a3964fada55b0f4d073f05a7833455235221b9
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
208945c4e262868d3ebe0f55f1b895cd5a201cbb 04-Oct-2016 Garfield Tan <xutan@google.com> Refactor FragmentTuner to ActivityConfig.

* Move model listener that opens drawer to ActionHandler.
* Move showChooserForDoc() to ActionHandler.
* Statically initialize ActionHandler.
* Isolate OnDragListener to FilesActivity only.

Bug: 28315278
Change-Id: I760c8411922fca827fd08c115bd2590ab671c380
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java
0f5ec83eeee1d68f344c036cdff0c31ff68e6ee8 04-Oct-2016 Steve McKay <smckay@google.com> Add pick ActionHandler test.

Just basic at this point, only covers initial root loaded when picking copy dest.
Pulled OnRootsChangedTask out of BaseActivity.

Address followups from: https://googleplex-android-review.git.corp.google.com/#/c/1505194/

Change-Id: I2bbf418c8c9c6ad34e6f751e4a69e0f4243cc3c9
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/ActionHandlerTest.java