History log of /frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a1f7680f535a30aa816d129c072870031c8a2eb6 25-Feb-2016 Steve McKay <smckay@google.com> Update preconditions to be asserts...

Which are now supported by Jack.
Retain a few preconditions checks that enforce contract.
Disable the one assert we had...because it failed in tests.

Change-Id: I2f6cb01e1af1534be4428ce4a3ee625a163dd163
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
b8397607ee17709c9f743edce2d4e1fa23c8bb27 18-Feb-2016 Steve McKay <smckay@google.com> Fix CTS failure.

Loosen the reigns on setPickTarget to accommodate no sub command mode.

Change-Id: Ia11c4194970c93fe86e98dfd0d23ed4fa1cea765
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
a6bbeab1d3c94b24b16d6d86401dcbd85806af72 18-Feb-2016 Steve McKay <smckay@google.com> Improvements to Copy/Move flow.

- Always open drawer for copy/move operations.
- Set title to match operation.
- Update button to say "move" for move operations.
- Other minor fixes.

Also fix "Home" tests broken by ag/867110

Bug: 26506479
Change-Id: I3ccb4ddc72be0a21b91744bcb610c1ca490ac30c
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
84cebbeb69e5b473f0cb4d1575bdc57aac48e32e 25-Sep-2015 Ben Kwa <kenobi@google.com> Open the destination dir when a copy notification is tapped.

- Cleanup: rename the "open copy destination" action to "pick copy
destination", which better reflects what it does.
- Move DocumentsIntent from BaseActivity to Shared.
- Rename ACTION_BROWSE_DOCUMENT_ROOT to ACTION_BROWSE for general browsing.
- Use the new ACTION_BROWSE to open the copy destination when copy
notifications are tapped.

BUG=23137963

Change-Id: I10480b45a16ce716febac5453cb5015d26bb0062
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
7a3b88cf56ded3afb9bd6d1ad150b2d6b1f2f4d7 24-Sep-2015 Steve McKay <smckay@google.com> Move State to a separate file.

Update remaining local DEBUG definitions to use Shared.DEBUG.

Change-Id: I3ed4d4b184836da161adff14bd3d9ca01b435847
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
ac990ceb3874d00c5a4c5dfb7e8ba20598d60202 28-May-2015 Daichi Hirono <hirono@google.com> DocumentUI: Plish the design of footer bottons.

* Remove the directory name from "pick" button.
* Allign buttons at right.
* Fix bug that the pick button turns to be hidden after screen rotation.

BUG=20285152

Change-Id: I909d52f341bf67c5627431a354a9b0ccec152a05
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
cc3452136e1cf2a7552d767d16ad10f3932d4b5f 18-May-2015 Ben Kwa <kenobi@google.com> Fix UI for file moves.

Change the destination picker to have a "MOVE" button when moving files.

BUG=20880263

Change-Id: I69686a2f13daa0f0048113e1a2ad71dd37b3de1c
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
ef3e2cf35fbede340d5ff830b410baea8e461a94 21-Apr-2015 Steve McKay <smckay@google.com> Reduce code duplication between DocumentsActivity and StandaloneActivity.

Ensure StandaloneActivity has toolbar management consistent w/ DocumentsActivity.
Introduce a separate SearchManager class since there seemed to be a sufficient body of logic and state to warrant the separation.

Change-Id: I87d9da40095c6de575b124005ca34a8c0b0b4b35
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
c2eaa6e21399d916b74ccb7d1d5dd8749bb93ca2 15-Apr-2015 Daichi Hirono <hirono@google.com> DocumentsUI: Hide pick button of copy destination picker for read only directory.

BUG=20238336

Change-Id: Ia2a0ef2889a2153d99c0f305deda151a04483173
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
de021abe409a293492d998d8b837ea1aee9604ff 13-Apr-2015 Daichi Hirono <hirono@google.com> DocumentsUI: Polish buttons of copy destination dialog.

* Add cancel button to directory picker dialog.
* Turns "select" label to "copy to" label for copy destination picker.

BUG=20170953

Change-Id: I66214804aed75a6fccc716d1a01163c634e73d7f
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
e934ce6f8430f50d1d22bccd3b341b982f5541ee 25-Mar-2015 Steve McKay <smckay@google.com> Implement a standalone file manager activity.

Change-Id: Iaf86ef416b979cea4ab3890d3a26f09741392c3d
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
b9fbb7290b02de1ce621deaa2d28a5e42f2e0937 05-Jun-2014 Jeff Sharkey <jsharkey@android.com> Refactor directory API to "opening document tree."

Cleans up API so it consistently refers to opening or working with a
subtree of documents. Also separates isChildDocument() support from
the concept of directory tree selection.

Bug: 15429194
Change-Id: Ice66a751ff4bd0cc4d34c44c5da13a0dc4186dc9
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java
21de56a94668e0fda1b8bb4ee4f99a09b40d28fd 06-Apr-2014 Jeff Sharkey <jsharkey@android.com> Add directory selection to DocumentsProvider.

Introduce new ACTION_PICK_DIRECTORY that allows users to grant access
to an entire document subtree. Instead of requiring grants for each
individual document, this leverages new prefix URI permission grants
by defining new "via"-style URIs:

content://com.example/via/12/document/24/

This references document 24 by using a prefix grant given for
document 12. Internally, we use isChildDocument() to enforce that
24 is actually a descendant (child, grandchild, etc) of 12. Since
this is an optional API, providers indicate support with
Root.FLAG_SUPPORTS_DIR_SELECTION.

Extend DocumentsUI to support picking directories. Expose
createDocument() API to work with returned directories.

Offer to canonicalize via-style URIs into direct URIs, generating
exact permission grants along the way. Override openAssetFile()
to pass through CancellationSignal. Move testing code into ApiDemos.

Bug: 10607375
Change-Id: Ifffc1cff878870f8152eb6ca0199c5d014b9cb07
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/PickFragment.java