summaryrefslogtreecommitdiffstats
path: root/packages/DocumentsUI
Commit message (Collapse)AuthorAgeFilesLines
* Themes: Making DocumentsUI fully themeableThyrus112015-10-273-4/+27
| | | | | | | | | | | | Changes added for main activitity and ItemGrid text colors Default values: drawer_background_color>#ffffffff font_color_doc_grid">#ffffffff PS2: move colors to cm_colors.xml and clear whitespaces Change-Id: Ia25030f3c2d2c19d43cadda149705d7086f2c155
* Merge "Import translations. DO NOT MERGE" into mnc-devGeoff Mendal2015-07-152-7/+7
|\
| * Import translations. DO NOT MERGEGeoff Mendal2015-07-152-7/+7
| | | | | | | | | | Change-Id: I5a4734ab26f74e593ace500f8ff19d280cf7a6a1 Auto-generated-cl: translation import
* | Only send EXTRA_STACK for private intent.Jeff Sharkey2015-07-151-4/+5
|/ | | | | | | | Since it's a private Parcelable class, we can't send it to other third-party apps, since they won't know how to unpack it. Bug: 22255387 Change-Id: Ie2ea6cf72b733bd122eb3581a5df295cec608425
* Import translations. DO NOT MERGEGeoff Mendal2015-07-084-4/+4
| | | | | Change-Id: I173b85dbcf36fdc7023137949f7bb416dabc2cf5 Auto-generated-cl: translation import
* Merge "Fix DocumentsUI animation regression." into mnc-devJeff Sharkey2015-07-064-1/+6
|\
| * Fix DocumentsUI animation regression.Jeff Sharkey2015-07-054-1/+6
| | | | | | | | | | | | | | | | Various fragments need backgrounds to protect their contents during animation transitions. Bug: 22232368 Change-Id: I4ce4c57650f9b64b3c6101d829dd484417585410
* | Merge "If user ejects a storage from details, take user to... ... the ↵Makoto Onuki2015-07-062-0/+26
|\ \ | | | | | | | | | storage list view" into mnc-dev
| * | If user ejects a storage from details, take user to...Makoto Onuki2015-07-012-0/+26
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... the storage list view 1. Change to ExternalStorageProvider When available volumes have changed, it now notifies on "content://com.android.externalstorage.documents" rather than on "content://com.android.externalstorage.documents/root/", because it'll also affect "content://com.android.externalstorage.documents/document/*/children". 2. Change to DocumentUI - DirectoryLoader now won't crash when a provider returns null. - DirectoryFragment now closes itself (i.e. emulate a back press) when a load failed. - It now correctly reloads contents when a volume is ejected thanks to 1. Bug 21472170 Change-Id: Icf4bbc2ebb9067313dbbb67083cd4115b0a75c58
* | Import translations. DO NOT MERGEGeoff Mendal2015-07-061-3/+3
|/ | | | | Change-Id: Icd52bfb7b30de7dbc2c7c7e7f073a4fddb5fa5e3 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-07-013-3/+3
| | | | | Change-Id: Id27150d5e6b378f1fe9e79eb0ea8b88392b2cd09 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEGeoff Mendal2015-06-292-2/+2
| | | | | Change-Id: Ia1829162e64c53a9c9df9211f41bf29d4e67fd20 Auto-generated-cl: translation import
* Remove default activity title to prevent talkback from...Makoto Onuki2015-06-231-0/+3
| | | | | | | | | | | reading the wrong title. We get a title from DocumentProvider with an async task, and by the time we get it, it's *usually* too late and talkback end up reading the default title. Bug 20041072 Change-Id: I7686fe4ae4c157ebfc07bd8b895c4cfdf99c057a
* DO NOT MERGE: Remove DayNight themeAlan Viverette2015-06-182-2/+2
| | | | | | | | | | | | | Do not go gentle into that good night, Old age should burn and rave at close of day; Rage, rage against the dying of the light. Though wise men at their end know dark is right, Because their words had forked no lightning they Do not go gentle into that good night. Bug: 21854466 Change-Id: I0b7cd116c23f7df88e94f31b3aee7dd22a102804
* Merge "Remove the action bar icon when there is no drawer enabled." into mnc-devTomasz Mikolajewski2015-06-181-10/+7
|\
| * Remove the action bar icon when there is no drawer enabled.Tomasz Mikolajewski2015-06-121-10/+7
| | | | | | | | | | | | | | | | | | Keep the hamburger menu though if the drawer is visible and unlocked. TEST=Tested manually on both tablet and phone form factors. BUG=18685509 Change-Id: Ie6f8d7064da99d2dc34315ccb92ab4db6ee321b6
* | Allow to customize title of the dialog.Tomasz Mikolajewski2015-06-171-7/+12
| | | | | | | | | | | | | | | | TEST=adb shell am start -a android.intent.action.OPEN_DOCUMENT -e android.intent.extra.TITLE 'Upload!' -t "text/plain" BUG=19150996 Change-Id: Ibded6cfaa2de3698c5eada154efbee2b323464d4
* | Import translations. DO NOT MERGEGeoff Mendal2015-06-1749-98/+49
| | | | | | | | | | Change-Id: Ie78d85789becd82c6fd468d50a47516711e5715a Auto-generated-cl: translation import
* | Finish when browsed root goes away.Jeff Sharkey2015-06-161-1/+16
| | | | | | | | | | | | | | | | If we're browsing a specific root, and that root went away, typically due to formatting. Bug: 21831184 Change-Id: Ie07607a81e32a7d82c88ad382658a471d47b905d
* | Import translations. DO NOT MERGEGeoff Mendal2015-06-1577-155/+127
| | | | | | | | | | Change-Id: I7bb1d35595971e4d2ff83ba40c01524ed243d26d Auto-generated-cl: translation import
* | Merge "Selected count string needs plurals." into mnc-devJeff Sharkey2015-06-112-7/+3
|\ \
| * | Selected count string needs plurals.Jeff Sharkey2015-06-112-7/+3
| | | | | | | | | | | | | | | Bug: 21717427 Change-Id: Ie0db8ac30244b022ca5838969fb085230bfc4499
* | | Update visibility of the stack dropdown list after the search view is collapsed.Daichi Hirono2015-06-115-11/+110
|/ / | | | | | | | | | | | | | | | | | | | | | | 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
* | New strings!Jeff Sharkey2015-06-101-1/+1
|/ | | | | Bug: 21737573, 21666225, 21756698, 21737666, 21471429 Change-Id: If1c5882d48f798d311f6d2b86277d3c13f06824e
* Merge "Enable apps to exclude their own roots from the DocumentsUI roots ↵Ben Kwa2015-06-105-4/+74
|\ | | | | | | list." into mnc-dev
| * Enable apps to exclude their own roots from the DocumentsUI roots list.Ben Kwa2015-06-105-4/+74
| | | | | | | | | | | | | | | | | | | | - 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
* | Import translations. DO NOT MERGEGeoff Mendal2015-06-102-2/+2
| | | | | | | | | | Change-Id: I8f8557a777e3b2ed58593aa20d1a2b0f2a5aa33b Auto-generated-cl: translation import
* | Merge "Add a divider between the roots selector and files list." into mnc-devBen Kwa2015-06-091-1/+3
|\ \
| * | Add a divider between the roots selector and files list.Ben Kwa2015-06-091-1/+3
| |/ | | | | | | | | | | BUG=21643911 Change-Id: Ie7c4d1a014b9fbdccb91d80907c89e2309c9891f
* | Merge "Clean up icons in DocumentsUI." into mnc-devBen Kwa2015-06-09152-54/+0
|\ \
| * | Clean up icons in DocumentsUI.Ben Kwa2015-06-08152-54/+0
| |/ | | | | | | | | | | | | | | | | - Remove unused icons. - Replace improperly sized icons with properly sized (24dp) ones. BUG=21643433 Change-Id: I67595b6bfbbf94f11abe6c1feabe633488decc84
* | Import translations. DO NOT MERGEGeoff Mendal2015-06-089-12/+12
| | | | | | | | | | Change-Id: I8592894958f93b88c36e60e0484f5a1ff6a1bc3a Auto-generated-cl: translation import
* | Merge "Fix drawer selection to match Material spec." into mnc-devBen Kwa2015-06-053-6/+4
|\ \
| * | Fix drawer selection to match Material spec.Ben Kwa2015-06-043-6/+4
| |/ | | | | | | | | | | | | | | | | | | | | - highlighted text changed to match the application primary color - change highlighted background to light gray - remove highlight icon tinting (provides insufficient contrast against the new light gray background) BUG=18685226 Change-Id: I4040fa951fd2822cea324e0bd1924d10024b6a11
* | Import translations. DO NOT MERGEGeoff Mendal2015-06-0310-18/+18
| | | | | | | | | | Change-Id: I7855e24fc4715b1bf7cf978dd40b3bd66f242427 Auto-generated-cl: translation import
* | Update hamburger share, and delete icons to use the 24x MD icons.Steve McKay2015-06-0215-0/+0
| | | | | | | | | | | | BUG=18685222,17699796 Change-Id: I4b14b83eca7fe30e250e1252cb384bc94e05e0a4 (cherry picked from commit e07525536b7edf584ffc96ba69951794d6096b57)
* | Import translations. DO NOT MERGEGeoff Mendal2015-06-011-1/+1
| | | | | | | | | | Change-Id: I04d01f1c65927634e8b27c3780e5e392fcdba28b Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEGeoff Mendal2015-05-302-6/+28
| | | | | | | | | | Change-Id: I40a24917618ab5fb0c5ef063b6ccc6b845bf0ec9 Auto-generated-cl: translation import
* | Fix the build months later?Jeff Sharkey2015-05-301-26/+0
| | | | | | | | Change-Id: Ic5902fbe39cf2b536eb75682ad18f06e1ad8983e
* | Revert "Import translations. DO NOT MERGE"Geoff Mendal2015-05-292-28/+6
| | | | | | | | | | | | This reverts commit f3173d8a1797fd812997b9246502a05df0591363. Change-Id: I7e24d340c24f7ba4b67a72d54e57c3558caa7267
* | Import translations. DO NOT MERGEGeoff Mendal2015-05-292-6/+28
| | | | | | | | | | Change-Id: I30219f300510a51079cb2e514c00f476590e06d5 Auto-generated-cl: translation import
* | Ensure that the copy notification is always cancelable.Ben Kwa2015-05-271-5/+5
|/ | | | | | | | | | If the CopyService dies or is stopped for whatever reason, the cached "current" job ID will go to null. In that case, the cancel intent will be ignored, and the copy notification can never be dismissed. Adding a null check to the handleCancel method of CopyService fixes this. BUG=21365043 Change-Id: I0615328f6033a313fec79f8b63291c7f7373ea0f
* Import translations. DO NOT MERGEGeoff Mendal2015-05-2534-68/+34
| | | | | Change-Id: Id4da8170bceabc117824f81c25a6019f5584ce0b Auto-generated-cl: translation import
* Merge "[mnc-dev] Hide list/grid menu items for copy dest action...in ↵Steve McKay2015-05-211-1/+3
|\ | | | | | | mnc-dev!" into mnc-dev
| * [mnc-dev] Hide list/grid menu items for copy dest action...in mnc-dev!Steve McKay2015-05-211-1/+3
| | | | | | | | | | | | BUG=21259006 Change-Id: Ic31dfa1a1cffa4340769c08db3e3cb3fb46e31d5 (cherry picked from commit e04e02d027b731448d68995a202c8867c4985fa3)
* | Import translations. DO NOT MERGEGeoff Mendal2015-05-2176-77/+111
|/ | | | | Change-Id: Ibc636bc980ceaead21d2eaf2dd813de284341ab0 Auto-generated-cl: translation import
* DocumentUI: Plish the design of footer bottons.Daichi Hirono2015-05-184-38/+43
| | | | | | | | | * 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
* Merge "Delete StandaloneActivity from M (DO NOT MERGE)" into mnc-devSteve McKay2015-05-115-351/+14
|\
| * Delete StandaloneActivity from M (DO NOT MERGE)Steve McKay2015-05-115-351/+14
| | | | | | | | | | | | | | The activity is already disabled by default. Fix an issue where copy support error handling was attempting to invoke StandaloneActivity. Change-Id: If15c312a183cae1b2a84517e7f7b3123c11bd619
* | Import translations. DO NOT MERGEGeoff Mendal2015-05-112-6/+6
|/ | | | | Change-Id: I0999d1abf6951574e9ba7fc6c8a608aaea4540de Auto-generated-cl: translation import