History log of /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/SelectionManagerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b8874fd0df55113d472c6704b91bd493c577caeb 07-Apr-2017 Garfield Tan <xutan@google.com> Fix 2 bugs that fail to update item listener right.

* Reset SelectionMetadata on model update.
* Stop updating item listener if an item is selected when we try to add
it to provisional selection.
* Add tests to ensure consistency between SelectionManager and
ItemCallbacks

Test: Manual tests & auto tests.
Bug: 37083128
Change-Id: I15149c71fa56f38ae5867a13d9026146a969c525
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/SelectionManagerTest.java
75b7b9039cf0efcb188e916c6f510328bfe099a8 02-Nov-2016 Ben Lin <linben@google.com> Let focused item also act as a starting anchor for range selection.

Bug: 31991343
Change-Id: Id59cc99a61550cd4a13feb508f13889a8598a3c9
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/SelectionManagerTest.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
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/SelectionManagerTest.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/selection/SelectionManagerTest.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/selection/SelectionManagerTest.java