History log of /packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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
/packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.java
fc84b34edff91524af63c82dcf8cc2e97ee76f75 17-Feb-2017 Ben Lin <linben@google.com> Removed all com.android.internal.* references in code.

Moved reference to internal Android resource depedencies to drawable.xml.

Bug: 34888290
Change-Id: I906e58579bab97438201bf8abab24f94e2640b2c
/packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.java
6a0a5688a3c250f18c895ab80af5e6093e7d38d1 30-Nov-2016 Steve McKay <smckay@google.com> Don't cache empty roots lists (usually).

Add support for logging cache via "dbg:dumpCache".
Bug: 33021109

Change-Id: I252698a5c9295f7792d92249a084cbfa4d20bb7f
/packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.java
30535bce902104c97bbf70783d684ee673cb7637 04-Nov-2016 Steve McKay <smckay@google.com> Don't log verbose stuff by default.

Bug: 32633923

Verbose logging can be enabled using: adb shell setprop log.tag.Documents VERBOSE

Change-Id: I03a5d4dae54a023d8b1b000bc7ea8e34ffe1035f
/packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.java
8659cbccc6fbab79fb6855abe9cb31ee8171b37e 31-Oct-2016 Steve McKay <smckay@google.com> Move roots constants to a shared location.

Include URIs in debug output.
Don't cancel search after dbg: input.

Change-Id: Id0eeb0f2ee2d847c0e88c18320977ed99d3e49bb
/packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.java
63bf8135243605949a3bb140167ef91f5c6ae2ae 11-Oct-2016 Garfield Tan <xutan@google.com> Move openContainerDocument() into ActionHandlers.

Change-Id: I48fb6e38993d2aff80b9d218d001c92ba2235e78
/packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.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/src/com/android/documentsui/base/RootInfo.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
/packages/apps/DocumentsUI/src/com/android/documentsui/base/RootInfo.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/base/RootInfo.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/RootInfo.java