8bb1245a48fd751991e4177351f38e4ce23a95ca |
|
17-Jun-2015 |
Jeff Sharkey <jsharkey@android.com> |
Finish when browsed root goes away. If we're browsing a specific root, and that root went away, typically due to formatting. Bug: 21831184 Change-Id: Ie07607a81e32a7d82c88ad382658a471d47b905d
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.java
|
186efa3836ec3e8c564b53d0948a51eb25cb7161 |
|
11-Jun-2015 |
Daichi Hirono <hirono@google.com> |
Update visibility of the stack dropdown list after the search view is collapsed. Previously we hid the stack dropdown list just before the action bar is collapsed. Then the dropdown list gets back to be visible when the action bar is collapsed. The CL updates visibility of the stack dropdown list just after the action bar is collapsed. BUG=20945584 Change-Id: Iaf5055bce101f8134accd311829e50f441ddc98b
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.java
|
77797400ec103b1691e1c3fa602c329b49ac18ca |
|
30-May-2015 |
Ben Kwa <kenobi@google.com> |
Enable apps to exclude their own roots from the DocumentsUI roots list. - Add DocumentsContract.EXTRA_EXCLUDE_SELF (boolean extra) - Add code to DocumentsActivity to cache the providers of the calling app if EXTRA_EXCLUDE_SELF is set on incoming Intents. - Add code to RootsCache to exclude roots from the calling app. - Add code to allow only system apps to use EXTRA_PACKAGE_NAME. Change-Id: Ia7cc2a1a297676c7b26f6e583042a4607d8c9a4e
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.java
|
69aee097a3853490c9c7afb191af4f047ab1d164 |
|
01-May-2015 |
Steve McKay <smckay@google.com> |
Ensure sort menu is shown as needed. This also hoists common code for options menu setup into BaseActivity. Change-Id: Ie87b8188a6c142b2312c92dc0d0bd550f0b1e59f
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.java
|
a78a3694b533a4b02d3193342144dbd2f17bd8f0 |
|
23-Apr-2015 |
Steve McKay <smckay@google.com> |
Update activities to clear search term when a root that doesn't support search is selected by the user. BUG=20495230 Change-Id: Iee2e2bd80dea6d368cad0911117e3759bdfe37d9
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.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/BaseActivity.java
|
cf0e9ace5eecc4457b9bd6e92a3c8391c09654d9 |
|
17-Apr-2015 |
Daichi Hirono <hirono@google.com> |
DocumentsUI: Save source file list into BaseActivity.State. This is needed so that the activity does not lost the list on screen rotation. BUG=20283251 Change-Id: I8f971bab0a0ce2066fd5fea29b98b355cb948ea6
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.java
|
1a2fdb496ec080cd6ff7ed547320dcfa7994abbd |
|
15-Apr-2015 |
Daichi Hirono <hirono@google.com> |
DocumentsUI: Move intent related constants to BaseActivity.DocumentsIntent. BUG=None Change-Id: I81d367d5f8d727a5fa76bc22b2fe871ae441dbcf
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.java
|
9be34298be02783b4cc91cf1784aa0627cf36012 |
|
14-Apr-2015 |
Daichi Hirono <hirono@google.com> |
DocumentsUI: Filter out downloads root if the source documents include directory. This is the short term solution for the downloads root, which does not support directory creation. For the long term solution, we need to add a flag to Root model to check if the root support directory creation or not. BUG=20186663 Change-Id: I15c4795892f38e3f968776f732a6f2160ae775fc
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.java
|
bbe2292bc671f74d77c9a0e4e0e1d5ea5714d939 |
|
10-Apr-2015 |
Daichi Hirono <hirono@google.com> |
DocumentsUI: Add new private intent action to select copy destination. The CL adds INTENT_ACTION_OPEN_COPY_DESTINATION, and implements the behavior to respond the intent action. The directory picker: * filter out read only roots * return document URI instead of document tree URI for the intent action. BUG=b:20146034 Change-Id: I96c565100c3cdaa57cc7abd8cf6d895d148941a7
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.java
|
59d577a518333f4b4514315b6d10e8dba160abcd |
|
12-Apr-2015 |
Jeff Sharkey <jsharkey@android.com> |
Browse mode for DocumentsUI, removed volume state. The existing management mode is too specific, and requires that storage backends add queryChildDocumentsForManage(), etc. Instead, to offer more natural browsing support, add a new BROWSE_ROOT intent. It behaves mostly like MANAGE_ROOT, except that it doesn't mutate its Uris with setManageMode(), and it shortcuts straight to VIEW on clicked documents. It can be launched like this: $ adb shell am start -a android.provider.action.BROWSE_ROOT -d content://com.android.externalstorage.documents/root/8405-1DFB -c android.intent.category.DEFAULT Also rename a MetricsConstants to make it clearer, and don't auto-mount all emulated volumes. Fix bugs around parceling of DiskInfo/VolumeInfo. Method to resolve the best description for a VolumeInfo, which might need to fall back to DiskInfo. Add back "removed" volume state so we send broadcast when a volume is destroyed, matching the expected public API behavior. Bug: 19993667 Change-Id: I13aff32c5e11dfc63da44aee9e93a27f4690a43f
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/BaseActivity.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/BaseActivity.java
|