• Home
  • History
  • Annotate
  • only in /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
History log of /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/files/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3975fa2e90c0322ecf70f350422b83dabda58c5e 02-Jun-2017 Dooper <dooper@google.com> Add menu to show properties, add feature flag.

Bug: 62293172
Test: upcoming
Change-Id: Idb0de7ad2b41472fc7b0b762d88dda5f512d5ce2
enuManagerTest.java
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
ctionHandlerTest.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
ctionHandlerTest.java
dbf09882377b4752fe45b1e2282fcbac4dcee60b 20-Apr-2017 Ben Lin <linben@google.com> Move defaultRootUri authority and rootId to resources.

Change-Id: I2bd443d86fa3567fe4eb2ddf4cef575be3e4852e
ctionHandlerTest.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
ctionHandlerTest.java
ff7f3aeec1b4fc7e0b8ddb0e8b6b6e105140f68e 26-Apr-2017 Ben Lin <linben@google.com> Clear separation of RootList Context Menu items and DirList items.

Change-Id: I7f83b21a499de67f628b1fe0cf1582fe70f86c4d
enuManagerTest.java
c1a32aea59f47b06f3157a7f87ef5b9bf45f7627 20-Apr-2017 Ben Lin <linben@google.com> Disable Move/Move to/Cut to clipboard for read-only files.

Bug: 37357780
Change-Id: I26f4e604c080b79f54f5ee9f9a07535d577e4a0a
ctionHandlerTest.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
ctionHandlerTest.java
da2c0f0b075ad9f770182e706c2ec158989568a7 11-Apr-2017 Garfield Tan <xutan@google.com> Allow user control move/copy during drag and drop.

* Refactor some shared drag and drop logic into one single place.
* Add a workaround for updating badges across windows.
* Add unit tests for DragAndDropManager

Bug: 29581353
Change-Id: I2fcf950194457501e35e1bbc2e00ab68d7962666
ctionHandlerTest.java
d4a996b7ae9b1f749200654f717ee789f0b139a9 03-Apr-2017 Jon Mann <jonmann@google.com> Merge "Added some debugging tools." into arc-apps
eb1d11b5d85c40ce845625aea1ecbf7e265d75f9 02-Apr-2017 Jon Mann <jonmann@google.com> Added some debugging tools.

Test: verified
Change-Id: Ie043c5ff8209c9aa78480d16a4c710377a0c1bbb
enuManagerTest.java
f4e2b65c40e6b985a9c473956c5ed2c07d9111f1 31-Mar-2017 Garfield Tan <xutan@google.com> Wire DocsUI w/ quick view feature flags.

Test: Builds & tests pass.
Bug: 36484539
Change-Id: I2999865bf16b27f83e9b98d7799fbf45e91ae834
(cherry picked from commit aa8c645c9786c7ff2b55bf3ddb0123335d7f1c2c)
uickViewIntentBuilderTest.java
9bd4099ee27f8302a06fc66980079f29127318f8 24-Mar-2017 Jon Mann <jonmann@google.com> Refactor RootsCache+RootsAccess to ProvdersCache+ProvdersAccess

Test: verified success
Bug: 34219584
Change-Id: I16d5e7d70240626efc9020bd11b13c778fc2d95e
ctionHandlerTest.java
77e0120246c2a16801766ed4761084e8c18f2aaa 23-Mar-2017 Jon Mann <jonmann@google.com> Merge "Implement support for viewing document settings in external applications" into arc-apps
253a99248f1f3d50cd357d902bfc52e7b9367446 22-Mar-2017 Jon Mann <jonmann@google.com> Implement support for viewing document settings in external applications

Makes DocumentsUI respect the Documents#FLAG_SUPPORTS_SETTINGS flag and invoke the DocumentsContract#ACTION_DOCUMENT_SETTINGS intent.

Test: Added unit testing.
Bug: 34219584
Change-Id: Ib1e8e1362e694ec973db20dd52ea229ba182520a
enuManagerTest.java
5a7a015520ac48f4cbf0b11d50814782305e13eb 23-Mar-2017 Jon Mann <jonmann@google.com> Merge "Revert "Implement support for viewing document settings in external applications"" into arc-apps
e8c484d8aa5215ec5331909513a0a7aec8fe2143 23-Mar-2017 Jon Mann <jonmann@google.com> Revert "Implement support for viewing document settings in external applications"

This reverts commit 8856ef45ac24e5f7ef539e3c32427c155970bf3d.

Reason for revert: <INSERT REASONING HERE>

Change-Id: Ice474cf9b6f79246c59a0d5f4ed350bb80d9cdfd
enuManagerTest.java
ce97e1f3fffbfb096c089c7da7111b3115f915e0 23-Mar-2017 Jon Mann <jonmann@google.com> Merge "Implement support for viewing document settings in external applications" into arc-apps
8856ef45ac24e5f7ef539e3c32427c155970bf3d 22-Mar-2017 Jon Mann <jonmann@google.com> Implement support for viewing document settings in external applications

Makes DocumentsUI respect the Documents#FLAG_SUPPORTS_SETTINGS flag and invoke the DocumentsContract#ACTION_DOCUMENT_SETTINGS intent.

Test: Added unit testing.
Bug: 34219584
Change-Id: I996dc1d80044c9d14086dc036c9950d9c2efa87e
enuManagerTest.java
d22cc1852ed3e028a37d713e41c57286d2e4c9f2 15-Mar-2017 Tomasz Mikolajewski <mtomasz@google.com> Fix viewing files in archives by mouse.

Test: Manual tested and partly unit tested.
Bug: 36098427

Change-Id: I5e8e6715249d545a21b97cbc2e525f470451ab87
ctionHandlerTest.java
710248d5ee766765b86fa36fe2ddd8d65f926755 14-Mar-2017 Steve McKay <smckay@google.com> Additional tidy up after Features.

1) Correctly hook Archive Creation up to features.
2) Remove archive creation as a preference.
3) Replace a few remaining direct references to R.bool.feature_...
4) Normalize test method naming in files.MenuManagerTest.

Bug: 35936932
Test: Build and run tests, test app manually.
Change-Id: I46db960fa17c438bb02fb3767b97dac3459c7cec
enuManagerTest.java
7025de737cd2285cfc6c87b7eb955543efad5f1b 14-Mar-2017 Tomasz Mikolajewski <mtomasz@google.com> Merge "Show a snackbar for archived files when can't be quick viewed." into arc-apps
9e743064590c1624a834895549acf31fbfe5d70a 14-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move common logic to TestDocumentClipper." into arc-apps
ceef2de0a8aa62d86db5939ff7ad3c1a1739d288 14-Mar-2017 Garfield Tan <xutan@google.com> Move common logic to TestDocumentClipper.

Change-Id: If96b0f11553c1c7fe71e328641d637365f742fd2
ctionHandlerTest.java
d6a85b92c529d30cb17132f1fa9742b119b3713e 14-Mar-2017 Ben Lin <linben@google.com> Allow all roots to have OnItemDragListener.

Also changed root highlight/hover and focus color to concrete hex color.

Bug: 31182423
Change-Id: I9f2c53396d18a58d5d140b3430a07cabbeb32b67
ctionHandlerTest.java
179f0695a8d4a0d87d28303f8d6e5e9c7194d981 20-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Show a snackbar for archived files when can't be quick viewed.

Test: Unit tests.
Bug: 35582807
Change-Id: Icf2489b4ed7c62da37b610104c88b5c29a926178
ctionHandlerTest.java
30b0dc1896abc67a970b61ebfd420275a31c1e18 08-Mar-2017 Ben Lin <linben@google.com> Fix a bug where dropping on Root never works.

DragEvent gets recycled, so by passing a DragEvent reference directly to
ActionHandler#dropOn, by the time the callback occurs, DragEvent is
updated to ACTION_DRAG_ENDED. ACTION_DRAG_ENDED events have no ClipData
and no localState, so the file operation never will occur.

Also added tests that involved ... refactoring lots of things.

Change-Id: I87daf1a4ec4e536701e03fd6dc53fc55829e5e51
ctionHandlerTest.java
bcc79b353628591617f7982f8173214a74d7eeec 08-Mar-2017 Garfield Tan <xutan@google.com> Make sure shares and deletes are enabled after they're changed to be visible.

In ag/1106329 we disable all hidden menu items, but we never enable them
when they become visible. There is no way to have a similar one-for-all
logic to enable everything back because there are menu items visible but
disabled.

Bug: 34854166

Change-Id: I8d52183ef69d7fd60bc1c930b5e11e7aaf8dbdbb
enuManagerTest.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
ctionHandlerTest.java
estActivity.java
98f8c5f502e049a6b85439d773949cdbaa0f78ae 03-Mar-2017 Steve McKay <smckay@google.com> Add Feature Flag support.

Bug: 35923154
Change-Id: I34dd956e8309c779e7a3f35eadc3d84132b970ce
ctionHandlerTest.java
954c5e0d7812bb58be03ae289ad490f48660924e 28-Feb-2017 Jon Mann <jonmann@google.com> Merge "Start to move access to model in to Injector and ActionHandlers, refactor select all and file rename." into arc-apps
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
ctionHandlerTest.java
f07da5f8bedb4d0f72aede499e46ebd8a122a9ad 27-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Follow up for disabling creating archives in resources.

Test: Unit tests.
Bug: 35403496
Change-Id: I88555dadf37cbbbacd78f59d8cfa25688680338d
enuManagerTest.java
c5efea0795e914d411680704fb0f435a543d3907 22-Feb-2017 Garfield Tan <xutan@google.com> Use Intent.ACTION_VIEW to for launching file manager at a location.

Bug: 34944388
Change-Id: I53f9db86bcf34ab98c520d80c5340a73edcb5721
ctionHandlerTest.java
b0cbd6b0b18ea740524808b5af1f99aff628ee3b 20-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Disable compressing by default.

Test: Unit tests.
Bug: 35403496
Change-Id: Ic55cba5e1ddf5c3941072cddaeb5718d8ed18fb3
enuManagerTest.java
ac3e63e584a079c9efd84de66e65a8f6c05b773d 13-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Enable Open With in the overflow menu.

Along the way fix Open With to be disabled for files in archives.

Bug: 33133918
Test: Unit tests + tested manually.

Change-Id: I7820d1fd74e85d7f499d6657e5c8a9ab92122706
enuManagerTest.java
2e8acf01cb7620f365bdc5b6bfbd92eb8eee768a 09-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Remove "Compress To".

Test: Unit tests.
Bug: 35180990
Change-Id: I57d9164e012f842f90e8a8140df6d839261a1432
(cherry picked from commit 49cd92dd21209036dc7c8d9f74f86fd3e5b4625a)
enuManagerTest.java
26640ab732718cb5dc39ca0e6b2b448ea397e69b 06-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Add support for compressing to the current destination.

If possible, compress to the current, if not then ask user
to pick the destination.

Test: Tested manually in read only and not read only destination.
Bug: 20822019
Change-Id: I33ca9c515f344980b7b2fc51c680b6aa3020a715
(cherry picked from commit 92e77f6bedb0ed8a83ee6601a7e637aad14d3536)
enuManagerTest.java
a1d8b87ffd66e0946bb52945b486a64e235b2dae 07-Feb-2017 Tomasz Mikolajewski <mtomasz@google.com> Hide the share button in archives.

This is not supported, so the button should be hidden.

Test: Unit tests. Also tested manually.
Bug: 35046647
Change-Id: I86249488fa0f828149cfcac4435b1e917c2c3dc9
(cherry picked from commit 6a61b1f51cbbb2524f47c57c0ea572be267a9779)
enuManagerTest.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
ctionHandlerTest.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
ctionHandlerTest.java
bc7eb5fc39b5555eedc7d7b3591687343ecda18d 27-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Add boilerplate for compressing in DocumentsUI.

This CL adds strings, constants, and classes for compressing, which
for now do the same as copying.

Along the way it does the same to extracting.

Test: Tested manually.
Bug: 20822019
Change-Id: I9866166c635befae59b3fff13125bd563f71936a
(cherry picked from commit 4f2254941c4e495e0653bd2773fc8a2ecc6daef3)
enuManagerTest.java
5a8e378a4b550d8a8e31d3bcc93ec3bf485d7c16 23-Jan-2017 Tomasz Mikolajewski <mtomasz@google.com> Add basic support for extracting archives.

This is the first step. It basically replaces the "Copy to" with
"Extract to". Since it's a primary action it's shown as an icon, instead
of the "..." menu.

The next step will be "Extract all", without a need to select all the
files first. It will be also more discoverable.

Finally, this is an experimental UI. It may change.

Test: Unit tests.
Bug: 33641598
Change-Id: I0cd69c351f32b031cd968340a2e7a0079cea9325
(cherry picked from commit 61216ccc96d95d29a65fa8ff68909b7e13a07df2)
(cherry picked from commit 188f2d3cdbf141d14eecca7695a2a1cad715bed7)
enuManagerTest.java
d8d0ad2bb6b52095b77c537bdd4b79e642361b94 11-Jan-2017 Ben Lin <linben@google.com> Proper ActionMode clean up when spring opening directories.

Since ActionMode has an assert that it should be null when being reset,
there was a crash for the case of spring opening directories due to
actionMode.finish() not properly called before opening the directory.
This now ensures actionMode.finish() is called beforehand.

Test: Wrote ActionHandlerTest#testSpringOpenDirectory.

Bug: 32749167
Change-Id: Ifa39e9fcf02f4f848ea5cf4f26b01280d32a47c0
ctionHandlerTest.java
f23cbf4610ecc982ae8b6b118ea1f1994cf3afcf 23-Dec-2016 Ben Lin <linben@google.com> Removed all auto-open-drawer logic on app start.

Bug: 32515191
Change-Id: I8c6fa6cc63d891bc29b39e0c3886617ef3b4b39a
ctionHandlerTest.java
5b127ac1efe441f19fbad82a30d72a629f864329 24-Oct-2016 Tomasz Mikolajewski <mtomasz@google.com> Send virtual files with CATEGORY_TYPED_OPENABLE.

Test: Unit tests. Also tested manually with a testing apk.
Bug: 28409713
Change-Id: I086664d092f70ae4bba5dcf364c642ccb36590db
(cherry picked from commit d91a1854a08b542da2196da14ab8bd6217743ceb)
ctionHandlerTest.java
03a3a39d1cb62aa41bdd40e49ee26c7aabc5ada1 12-Dec-2016 Garfield Tan <xutan@google.com> Make srcParent for move/delete nullable.

Add 3 unit tests to cover these cases.

Test: It stopped crashing. New tests pass.

Bug: 33540755
Change-Id: I0c80ff1b0aa25cc218b4a0538a11189d36d6826b
ctionHandlerTest.java
e9abd2d49b31535c6c3f52fa439e48ab5e22451f 06-Dec-2016 Ben Lin <linben@google.com> Crash fix for accessing DocumentInfo.derivedUri when in Recents.

Bug: 33371320
Change-Id: Ib04dfce6073dc03e4a3711f767b52de05174748a
ctionHandlerTest.java
24dfabc886a0773db42f3e2b41a610452333d10a 29-Oct-2016 Steve McKay <smckay@google.com> Always show new window command.

Was behind flag, but should be generally accessible.

Change-Id: I32cbc3f34bd5f209552ef994abb95cc3fe347009
enuManagerTest.java
20b84e01f3014c19feb9656405c9eb85fd7d8341 22-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Followups to ag/1553792/" into nyc-andromeda-dev
01996bc21961b64ef355325a9ad5c6445c734521 21-Oct-2016 Steve McKay <smckay@google.com> Followups to ag/1553792/

Change-Id: I82f740df648f7fc3657c58fda972d3fdadc01622
enuManagerTest.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
ctionHandlerTest.java
ctivityInputHandlerTest.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
ctionHandlerTest.java
54c992e775cc00faddd89b2fd66a36c228d7a757 18-Oct-2016 Garfield Tan <xutan@google.com> Merge "Features around findPath API." into nyc-andromeda-dev
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
ctionHandlerTest.java
52389de20dc3039d22551141e9a86b538de1687e 15-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Adding ActivityInputHandler and tests." into nyc-andromeda-dev
79ae3a7d0e6dd6d2e953709a092e83002941d48f 13-Oct-2016 Ben Lin <linben@google.com> Adding ActivityInputHandler and tests.

Change-Id: Ic7a354c09b1bf6a769294cf37d83fdd36393617a
ctivityInputHandlerTest.java
dbd6b8bd50ac660cb9eb83d0bd39712b65382797 29-Sep-2016 Tomasz Mikolajewski <mtomasz@google.com> DO NOT MERGE: Move archive support library to DocumentsUI.

This if the first step. The tests are not moved, and the original
support library is not deleted yet.

Besides, the new files are basically copy paste.

Change-Id: Ifaac019de00f2d00fe1a69f9a69e62b4d3602c24
Test: Not yet, but coming.
Bug: 31783726
(cherry picked from commit c88c588413ec78ad68afa75fa25549b5ca6a95c4)
ctionHandlerTest.java
63bf8135243605949a3bb140167ef91f5c6ae2ae 11-Oct-2016 Garfield Tan <xutan@google.com> Move openContainerDocument() into ActionHandlers.

Change-Id: I48fb6e38993d2aff80b9d218d001c92ba2235e78
ctionHandlerTest.java
340db018ac40d4f47e00b5c5f4e67c390efc5676 12-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Move share impl into files ActionHandler." into nyc-andromeda-dev
0fa2a2cf0b9b52c6535ab26f2d46e592bb93f44c 11-Oct-2016 TreeHugger Robot <treehugger-gerrit@google.com> Merge "Disable "New Folder" context menu item in search." into nyc-andromeda-dev
d071895ec72bbb9414f6672ff808ec42b8e2d850 10-Oct-2016 Steve McKay <smckay@google.com> Move share impl into files ActionHandler.

Don't include partial files when sharing.
Add test coverage.

Filter documents as list is loaded for sharing, eliminating need to copy.
Rename MimePredicate to MimeTypes and drop the Predicate impl (since nobody was using it).
Move additional mime type functioanlity to the class.

Input DocumentsAdapter.Environment and LoaderCallbacks in inner classes.
This reduces the number of public methods hanging off of DirectoryFragment.
In DirFragment normalize access to context/activity and State.

Added an IntentAssert class with some handy assert methods.

Addressed xutan@'s comment from last CL.

Add friendly support for selecting documents in TestEnv.

Change-Id: I55ea78ab5bef3a2b2644f6e0a3384adeaba78599
ctionHandlerTest.java
d330727aea1282d6ea6371ea197b4f6be41575bf 10-Oct-2016 Garfield Tan <xutan@google.com> Disable "New Folder" context menu item in search.

Add unit tests to cover more cases in context menus.

Bug: 31996780
Change-Id: I73443e09e81f0c747dd057dbc72ea6441cdd447e
enuManagerTest.java
bd9f05aa36bf19d8b34d0d73a59e9bd65d3d26eb 10-Oct-2016 Steve McKay <smckay@google.com> Move full delete logic into ActionHandler.

Was spread across DirectoryFragment and UserInputHandlers.
Drop "android" test package in favor of the generic "testing".
Add an interface for ActionModeController (ActionModeAddons), so can be tested.
Moved ActionModeHandler out of dirlist ../up d dir.

Change-Id: Id915519656f163d3c413fe5d440d866c3ce4e2ca
ctionHandlerTest.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
ctionHandlerTest.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
ctionHandlerTest.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
ctionHandlerTest.java
eed2f4ec78227b5e173ff667a5517637a91b9a30 04-Oct-2016 Steve McKay <smckay@google.com> Move document-opening logic into ActionHandlers.

Add tests for:
viewing
previewing
managing (apks and partial files)
opening containers
showing chooser

Fix issue where partial files weren't being managed correctly.

Change-Id: I1d62bcd0fd5262d6354f0ddc2327d3f0d22c1f3b
ctionHandlerTest.java
def4868b1e9ef8a5718c6bc2e165026cbe52b5da 03-Oct-2016 Steve McKay <smckay@google.com> Test location init with doc URI.

Make a more complete test environment.
Move GetRootDocumentTask to roots package.

Change-Id: Icb8f4c42c38c17aa97ec428ef9d46d76d2286fa7
ctionHandlerTest.java
09404b3e765ec99e4db30dbddf4aed5524b8523e 30-Sep-2016 Steve McKay <smckay@google.com> Add test for loading init location from rootUri.

Bug: 31858715
Change-Id: I51130d15a545526d6ba5101edaa4fbeb58f3e229
ctionHandlerTest.java
a86732316c8fe1694f4c1702cdd6c8e0faff4e18 29-Sep-2016 Ben Lin <linben@google.com> Integrating Android Keyboard Helper to surface commands to users.

Bug: 27527210
Change-Id: I97e6e42fe54e4195875581dcc04188f5552efd22
enuManagerTest.java
b6006b2ef723fdbb3fef3b4a350c8d363b127d0f 29-Sep-2016 Steve McKay <smckay@google.com> manager/ManageActivity back to files/FilesActivity.

The "mange" rename resulted in a disturbance in the force.

Change-Id: I0f057ba7621912f173e47a472bfc6e23a5a6d54a
ctionHandlerTest.java
enuManagerTest.java
estActivity.java